• You can do this by using descendant selectors.

    为此使用后代选择器

    youdao

  • Use class selectors instead of descendant selectors.

    使用class选择代替后代选择器。

    youdao

  • Avoid using descendant selectors, especially those that specify redundant ancestors.

    避免使用后代选择器特别是那些指定多余祖先的

    youdao

  • 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.

    如果必须使用后代选择,尽量使用子代选择器,最少只需评估一个额外的节点而非中间直至祖先所有节点

    youdao

  • 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元素内

    youdao

  • 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元素内

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定