Attribute selectors may match in four ways.
属性选择符有四种匹配方式。
So, the operators are the same as the attribute selectors.
所以,操作符(operators)和属性选择符(attribute selectors)是一样的。
With IE7 introducing support for attribute selectors, roughly 50% of the market can use those.
随着IE7介绍了其对属性选择器(attribute selector)的支持,市场上大概50%的用户可以使用这一特性了。
As you start to use attribute selectors more and more, you'll end up working with values (from attributes) as much as you work with nodes.
随着越来越多的使用属性选择器,最终将与处理节点一样经常地使用值(来自属性)。
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选择符或伪类,次序任意。
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元素内
Do spell non-element selectors in lower camel case unless the selector is meant to match a native HTML attribute.
坚持用小驼峰形式拼写非元素选择器,除非该选择器用于匹配原生HTML 属性。
Do spell non-element selectors in lower camel case unless the selector is meant to match a native HTML attribute.
坚持用小驼峰形式拼写非元素选择器,除非该选择器用于匹配原生HTML 属性。
应用推荐