The simple selector matches if all of its components match.
如果它的所有内容都匹配,则简单选择符匹配。
A selector consisting of a single simple selector matches any element satisfying its requirements.
包含一个简单选择符的选择符,匹配任意符合它要求的元素。
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选择符或伪类,次序任意。
Prepending a simple selector and combinator to a chain imposes additional matching constraints, so the subjects of a selector are always a subset of the elements matching the last simple selector.
将简单选择符和组合符结合成链就增加了额外的匹配条件,因此选择符的主题总是那些符合最右端的简单选择符的元素的子集。
Prepending a simple selector and combinator to a chain imposes additional matching constraints, so the subjects of a selector are always a subset of the elements matching the last simple selector.
将简单选择符和组合符结合成链就增加了额外的匹配条件,因此选择符的主题总是那些符合最右端的简单选择符的元素的子集。
应用推荐