• For example, the following attribute selector matches all H1 elements that specify the "title" attribute, whatever its value.

    例如如下属性选择符匹配那些指定title ”属性的H1元素而不论为什么?

    youdao

  • A simple selector is either a type selector or universal selector followed immediately by zero or more attribute selectors, ID selectors, or pseudo-classes, in any order.

    简单选择或者一个类型选择符,或者是一个全局选择紧跟在后的是零个多个属性选择符,ID选择符或类,次序任意

    youdao

  • So the return value (sort of a misnomer, but still a useful way to think about things) for an attribute selector is a value; for an element, it's a node set (containing a single node).

    因此对于属性选择器返回虽然不确切但是有用)值,对于元素一个节点包含一个节点)。

    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

  • Like the class, an ID selector is based on the value of an attribute, but in this case, it's the ID attribute.

    选择符相似,ID选择符基于一个属性这个属性ID属性。

    youdao

  • In the following example, the selector matches all SPAN elements whose "class" attribute has exactly the value "example".

    下面这个例子选择符匹配所有指定“class属性为“example的SPAN元素

    youdao

  • A class selector selects all elements that have a class attribute with a particular value.

    选择选择class属性特定值的所有元素

    youdao

  • Here, the selector matches all SPAN elements whose "hello" attribute has exactly the value "Cleveland" and whose "goodbye" attribute has exactly the value "Columbus".

    这里选择匹配那些SPAN元素hello属性设置为“Clevelandgoodbye ”属性设置为“ Columbus ”。

    youdao

  • We recommend picking a selector name with a prefix to ensure that it cannot conflict with any standard HTML attribute, now or in the future.

    我们建议在给选择起名时加前缀确保不会任何标准HTML属性冲突,无论是现在还是未来

    youdao

  • Do spell non-element selectors in lower camel case unless the selector is meant to match a native HTML attribute.

    坚持用小驼峰形式拼写非元素选择器,除非选择器用于匹配原生HTML 属性。

    youdao

  • Is there an existing or upcoming CSS3 selector for matching substrings of attribute names?

    一个现有即将到来CSS3选择器属性名称匹配子串

    youdao

  • Is there an existing or upcoming CSS3 selector for matching substrings of attribute names?

    一个现有即将到来CSS3选择器属性名称匹配子串

    youdao

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

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

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