In this case, the selector is the ancestor element name followed by the descendant element name.
在这种情况下,选择符是祖先元素名后面跟着后代元素名。
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属性。
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 属性。
应用推荐