CSS Colorguard
- 授权协议: Apache
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/SlexAxton/css-colorguard
- 软件文档: https://github.com/SlexAxton/css-colorguard
软件介绍
CSS Colorguard 是一个 Node.js 扩展,用来分析CSS并标出不必要的接近的颜色值冗余
示例代码:
var colorguard = require('colorguard');
var fs = require('fs');
var css = fs.readFileSync('./file.css', 'utf8');
var output = colorguard.inspect(css, {
// 0 through 100. Lower is more similar. Anything below 3 warns you.
// 3 is the default threshold, but that's mostly personal opinion
threshold: 3,
// This color is just ignored entirely (use with caution)
ignore: ["#030303"],
// These color combinations are ignored (usually use this)
whitelist: [["#000000", "#010101"]]
});
网站重构(第3版)
[美] Jeffrey Zeldman、[美] Ethan Marcotte / 傅捷、祝军、李宏 / 电子工业出版社 / 2011-3 / 59.00元
《网站重构:应用Web标准进行设计(第3版)》内容简介:畅销书作家、设计师、网页标准教父jeffrey zeldman再次更新了他经典的、颠覆行业的指南书。这已经是《网站重构:应用Web标准进行设计(第3版)》的第3版了,此次更新基本涵盖了随着环境和技术的变化,web标准所面临的挑战以及因此而发生的改善。第3版让基于标准的设计思想更加清晰,更加易于理解,帮助你在这个领域中保持聪明和领先。 ......一起来看看 《网站重构(第3版)》 这本书的介绍吧!
