【文件属性】:
文件名称:postcss-pseudo-is:PostCSS插件来转换
文件大小:64KB
文件格式:ZIP
更新时间:2021-05-02 05:09:13
JavaScript
PostCSS伪为
插件可将:is()CSS伪类转换为更兼容CSS选择器。
例子
少写
. button : is ( : hover , : focus , : active ) {
/* Input example */
}
. button : hover ,
. button : focus ,
. button : active {
/* Output example */
}
简化
: is ( section , article , aside , nav )
: is ( section , article , aside , nav ) h1 {
/* Input example */
}
section section h1 , section article h1 , section aside h1 , section nav h1 ,
article
【文件预览】:
postcss-pseudo-is-master
----.github()
--------workflows()
----index.test.js(2KB)
----.npmignore(62B)
----LICENSE(1KB)
----.prettierrc(96B)
----README.md(2KB)
----.editorconfig(147B)
----.gitignore(43B)
----index.js(1KB)
----CHANGELOG.md(122B)
----package-lock.json(231KB)
----package.json(1KB)