css-exclude:允许使用注释排除 css

时间:2021-06-23 20:55:45
【文件属性】:
文件名称:css-exclude:允许使用注释排除 css
文件大小:20KB
文件格式:ZIP
更新时间:2021-06-23 20:55:45
JavaScript css-排除 摆脱丑陋的第三方选择器 动机 覆盖长选择器很痛苦,可能会导致无法维护的代码。 css-exclude是一个后处理器,它允许您选择哪些选择器不属于您的最终样式表。 只需编写 css 注释即可。 它是如何工作的? css-exclude是一个处理器,就像其他著名的模块,例如 autoprefixer 或 webpcss。 它支持 vanilla css 和任何支持内联源映射的预处理器。 有关兼容性的更多信息,请查看的 例子 无供应商 tr . heading { background : # eee ; } # nasty . funky > . crazy : first-child { table > tr . heading { border-top : 1 px solid grey; } } 主.少 @imp
【文件预览】:
css-exclude-master
----.travis.yml(74B)
----index.js(61B)
----package.json(1KB)
----test()
--------selector-dictionary.js(2KB)
--------_helper.js(2KB)
--------rule-filter.js(1KB)
--------post-css-helper.js(1KB)
--------css-exclude.js(3KB)
--------annotation-parser.js(2KB)
--------fixtures()
----LICENSE(1KB)
----.gitignore(40B)
----lib()
--------selector-dictionary.js(1KB)
--------rule-filter.js(809B)
--------post-css-helper.js(903B)
--------css-exclude.js(2KB)
--------annotation-parser.js(2KB)
----README.md(4KB)
----.jshintrc(4KB)

网友评论