For example, you usually want to create a special type of list instead of a special type of li list item for ordinary ul and ol lists.
例如,您通常想创建特殊类型的列表而不是为普通ul和ol列表创建特殊类型的li列表项。
It matches a P element that is a descendant of an LI; the LI element must be the child of an OL element; the OL element must be a descendant of a DIV.
它匹配一个LI元素的后代P元素;而li必须是OL元素的子元素;而OL元素必须是DIV元素的后代。
Test that the ol element has a number of li children greater than or equal to 2, as in Listing 7.
判断ol元素有2个或2个以上的li孩子节点,如清单7所示。
Test that the ol element has a number of li children greater than or equal to 2, as in Listing 7.
判断ol元素有2个或2个以上的li孩子节点,如清单7所示。
应用推荐