【文件属性】:
文件名称:rework-matches:实施
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-26 22:43:43
JavaScript
返工比赛
用于的:matches伪选择器的实现,基于 。
安装
npm install rework-matches
用法
a : matches ( : hover , : active , : focus ) > : matches ( span , div ) {
color : red;
}
..变成..
a : hover > span ,
a : hover > div ,
a : active > span ,
a : active > div ,
a : focus > span ,
a : focus > div {
color : red;
}
【文件预览】:
rework-matches-master
----.gitignore(13B)
----package.json(526B)
----LICENSE(1KB)
----index.js(2KB)
----README.md(480B)
----test()
--------index.js(1KB)
--------css()