【文件属性】:
文件名称:custom-selectors:一组通用的 CSS 自定义选择器
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-01 12:06:53
CSS
自定义选择器
一组与使用的通用 CSS 自定义选择器( )
安装
$ npm install custom-selectors
示例,
: --universal {
box-sizing : border-box;
}
. Post : --headings {
font-weight : 600 ;
}
. Button : --hover-focus-active {
color : blue;
}
. Button : active {
opacity : 0.5 ;
}
* ,
* : before ,
* : after {
box-sizing : border-box;
}
. Post h1 ,
. Post h2 ,
. Post h3 ,
. Post h4 ,
. Post h5 ,
. Post h6 {
font-weight :
【文件预览】:
custom-selectors-master
----index.css(2KB)
----README.md(785B)
----package.json(497B)