【文件属性】:
文件名称:atcss:基于注释CSS处理器
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-08 23:12:18
JavaScript
亚特兰大
AtCSS是使用构建的基于注释CSS处理工具。
安装
$ npm install -g atcss
例子
input.css :
@import url ( "test/fixtures/import.css" );
. base-1 {
/*
* @base
* @constant
*/
font-size : 12 px ;
padding : 8 px 16 px ;
}
. base-2 {
/*
* @base
*/
color : red;
}
. class {
/*
* @use .base-1
*/
background-color : green;
}
. too-long-and-ugly-selector-name {
/*
* @use .base-2
*/
m
【文件预览】:
atcss-master
----cli.js(1KB)
----.gitignore(27B)
----test()
--------fixtures()
--------index.js(724B)
----LICENSE(1KB)
----package.json(908B)
----readme.markdown(7KB)
----index.js(1KB)
----.travis.yml(67B)
----.editorconfig(254B)