Following image shows a selector using an id. it uses getelementbyid and therefore returns very fast .
下面的图片使用id的选择器,它使用getelementbyid并因此很快返回结果。
With the class selector you can define different styles for the same type of html element .
使用类选择器可以为同一类型的html元素定义不同的样式。
Do this for every other image in your sprite , using different names for each selector .
对其他所有精灵中的图片如法炮制,并对每个选择器命名。
A conventional amt uses the standard h shift pattern of a manual gearbox , and gears are selected by sliding selector rails that lie parallel to each other .
一个传统的自动变速器运用的是一种标准手动变速箱的h转换模式,齿轮选择器选择滑动导轨,彼此平行。
Depending on the size of your web site ( number of dom elements ) you should consider the overhead of individual selector methods .
依赖于你网站的规模(dom元素的数量),你应考虑单独的选择器方法的开销。
In standards-compliant e-books , you have to forget about drop caps or use a css selector ( : first-letter ) .
在规范的标准电子书中,你必须放弃下坠式字母,或者使用css选择器(:first-letter)。
The selector is normally the html element / tag you wish to define , the property is the attribute you wish to change , and each property can take a value .
选择器一般就是你希望定义的html元素/标签,更改你希望更改的属性,给每个属性赋一个值。
The id selector is defined as a # .
id选择器以“#”号开头。
Using every declaration just once means making strict use of selector grouping .