descendant selectors的意思|示意
后代选择器
descendant selectors的网络常见释义
使用子选择器 ... 在CSS文件中,你已经定义了元素p,又定义了一个classupdate 九.使用子选择器(descendant selectors) 十五.导入(Import)和隐藏CSS ...
包含选择符 包含选择符(Descendant Selectors): 语法: E1 E2 说明:1.
选择器 避免不必要的复杂的 CSS 选择器,尤其是后代选择器(descendant selectors),因为为了匹配选择器将耗费更多的 CPU。
包含选择器 IE认识descendant selectors(包含选择器) 的写法但不认识 child selectors(子选择器)的写法。
descendant selectors相关例句
You can do this by using descendant selectors.
为此可使用后代选择器。
Use class selectors instead of descendant selectors.
使用class选择器代替后代选择器。
Avoid using descendant selectors, especially those that specify redundant ancestors.
避免使用后代选择器,特别是那些指定多余祖先的。
If you must use descendant selectors, prefer child selectors, which at least only require evaluation of one additional node, not all the intermediate nodes up to an ancestor.
如果您必须使用后代选择器,尽量使用子代选择器,这最少只需评估一个额外的节点,而非中间直至祖先的所有节点。
The selector in the following rule, which combines descendant and attribute selectors, matches any element that (1) has the "href" attribute set and (2) is inside a P that is itself inside a DIV
下面规则中的选择符结合了派生选择符和属性选择符,它匹配任何元素,如果(1)该元素设置了"href"属性;且(2)包含在一个P元素内,而P元素又包含在一个DIV元素内