在本例中,一个包含有一些层叠样式表(Cascading Style Sheet, CSS)语法的字符串被传递给函数,然后jQuery尽可能高效地把这些元素找出来。
In this example, the function is passed a string containing some Cascading Style Sheets (CSS) syntax, and jQuery finds the elements as efficiently as possible.
也会讨论如何使用样式表、CSS语法、层叠顺序的优势。
I also discuss how to use stylesheets, CSS syntax, and the cascading order to your advantage.
应用推荐