【文件属性】:
文件名称:cssParentSelector:基于 jQuery 的 CSS4 父选择器
文件大小:47KB
文件格式:ZIP
更新时间:2021-06-20 22:50:14
CSS
[已弃用]
什么是 cssParentSelector
cssParentSelector 是一个基于polyfill,它允许你在 CSS 中使用父选择器。
执照
在 MIT 和 GPL 许可下发布。
安装
只需将此插件附加到您的代码中即可。
[removed][removed]
用法
parent! target > child:state
关于 CSS4 中父选择器的快速信息
! - 根据确定选择器的主题
E > F - 选择一个 F 元素,E 的子元素
诶! > F - 选择一个 E 元素,F 的父元素
家长
任何有效选择器都是 oky、id、class,甚至像这样: input[type=checkbox]
目标
这是可选的,在我们获得 CHILD 选择器的 PARENT 之后,我们在 PARENT 中查找此
【文件预览】:
cssParentSelector-master
----test()
--------jquery.js(162KB)
--------index.html(3KB)
--------style.css(10KB)
----jQuery.cssParentSelector.js(6KB)
----README.md(3KB)