cssgrace
cssgrace copied to clipboard
从今天起,写简单优雅面向未来的 CSS。From now on,writing brief,elegant,future-oriented CSS.
当背景设为渐变并含有grba的时候,滤镜解析,starcolor和endcolor相同
安装postcss-cli和cssgrace,执行postcss.cmd --use postcss-cssnext --use cssgrace -o t.css test.css,报错: Plugin Error: Cannot find module 'cssgrace'
 原因大概是因为下面位置的数组是空的  不知道什么原因这个base64的地址并没有解析出来
I am getting this error when running cssgrace, on the PostCSS 5.0.21 `[19:44:21] { [TypeError: Cannot read property 'replace' of undefined] name: 'TypeError', message: 'Cannot read property \'replace\' of undefined',...
报错信息 ``` TypeError: value.indexOf is not a function at OldValue.check (E:\work\CommonJS\node_modules\autoprefixer\lib\old-value.js:17:17) at E:\work\CommonJS\node_modules\autoprefixer\lib\processor.js:198:25 at E:\work\CommonJS\node_modules\postcss\lib\container.js:86:28 at E:\work\CommonJS\node_modules\postcss\lib\container.js:73:26 at Rule.each (E:\work\CommonJS\node_modules\postcss\lib\container.js:60:22) at Rule.walk (E:\work\CommonJS\node_modules\postcss\lib\container.js:72:21) at E:\work\CommonJS\node_modules\postcss\lib\container.js:75:32 at Root.each (E:\work\CommonJS\node_modules\postcss\lib\container.js:60:22) at Root.walk...
Hello, I'm having an issue with relative paths. In a SCSS partial i'm declaring a background-image as `url(../img/bg.jpg)`, however the plugin searches for this file at the root of the...
环境OS X10.11/node 0.12.7,当background-image的url使用绝对地址时(如:background: url(/resource/foo.png) ),getAbsolutePath函数拿到的sourcePath参数首位字符是”/“,这会导致path.resolve认为sourcePath是文件系统root上的目录。
多余的hack
``` CSS audio, canvas, progress, video { display: inline-block; *display: inline; *zoom: 1; } ``` 这样的CSS代码,会输出为 ``` CSS audio, canvas, progress, video { display: inline-block; *display: inline; *zoom: 1; *display:...
使用文档说明
按照quick start 流程走下去,安装cssgrace不会成功,希望作者更新下使用说明,毕竟真的不会成功。相信很多第一次都会出现无法找到chokidar模块。 希望文档再清晰一点。
I'm using an svg as a background-image, but cssgrace throws the following error: ``` 'TypeError: invalid svg at Object.calculate (/Users/username/code/project-name/node_modules/image-size/lib/types/svg.js:61:13) at lookup (/Users/username/code/project-name/node_modules/image-size/lib/index.js:27:31) at module.exports (/Users/username/code/project-name/node_modules/image-size/lib/index.js:101:12) at imageSetMixin (/Users/username/code/project-name/node_modules/cssgrace/lib/index.js:422:9) at...