The engine evaluates each rule from right to left, starting from the rightmost selector (called the "key") and moving through each selector until it finds a match or discards the rule.
该引擎由右至左评估每个规则,从最右边的选择器开始(称为“键”【Key】),并通过移动每个选择器,直到找到一个匹配或丢弃的规则。
Like a rule group, a selector has date range entries, selection criteria, and a default destination.
与规则组一样,选择器拥有日期范围条目、选择条件和缺省目标。
A CSS rule consists of a selector and a declaration block.
CSS规则由一个选择符和一个声明块组成。
You select a destination in a selector the same as your would for a rule group.
您在选择器中选择的目标与为规则组中选择的相同。
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元素内
The selector, shown on the left side of the rule, defines which piece of the document will be affected.
如图中所示,选择符在规则的左边,它定义了文档中受影响的那些元素。
The selector, shown on the left side of the rule, defines which piece of the document will be affected.
如图中所示,选择符在规则的左边,它定义了文档中受影响的那些元素。
应用推荐