css-has-pseudo:相对于其他元素的样式元素

时间:2021-05-24 15:06:54
【文件属性】:
文件名称:css-has-pseudo:相对于其他元素的样式元素
文件大小:17KB
文件格式:ZIP
更新时间:2021-05-24 15:06:54
JavaScript CSS具有伪 允许您遵循规范,相对于CSS中的其他元素设置元素样式。 a : has ( > img) { /* style links that contain an image */ } h1 : has( + p) { /* style level 1 headings that are followed by a paragraph */ } section : not ( : has ( h1 , h2 , h3 , h4 , h5 , h6 )) { /* style sections that don’t contain any heading elements */ } body : has ( : focus ) { /* style the body if it contains a focused element */ } 用法 在命令行中,转换使
【文件预览】:
css-has-pseudo-master
----.travis.yml(124B)
----.rollup.js(2KB)
----.tape.js(181B)
----package.json(2KB)
----test()
--------basic.preserve.expect.css(335B)
--------basic.expect.css(610B)
--------basic.css(274B)
----CONTRIBUTING.md(2KB)
----src()
--------browser.js(4KB)
--------postcss.js(1KB)
--------cli.js(3KB)
----LICENSE.md(7KB)
----.gitignore(154B)
----INSTALL-POSTCSS.md(3KB)
----CHANGELOG.md(1KB)
----README-BROWSER.md(1KB)
----README.md(3KB)
----.editorconfig(226B)
----README-POSTCSS.md(2KB)

网友评论