Home > Web Front-end > JS Tutorial > How to make your CSS filter like Jquery_jquery

How to make your CSS filter like Jquery_jquery

WBOY
Release: 2016-05-16 18:05:02
Original
1032 people have browsed it

Syntax description:
E -- element
att -- attribute
val -- attribute value


E:first-child
E:last-child

Matches the E element with the att attribute in the document
Syntax: E[att]

Matches the E element with the att attribute in the document and its value is val
Syntax: E[att= val]

Matches the E element
that has the att attribute in the document and one of its values ​​(multiple values ​​are separated by spaces) is val (val cannot contain spaces). Syntax: E[att~=val]

Matches an E element in the document that has the att attribute and one of its values ​​is val, or starts with val followed by a hyphen
Syntax: E[att|=val]

Match the E element in the document that has the att attribute and the prefix of its value is val
Syntax: E[att^=val]

Match the E element that has the att attribute in the document and the suffix of its value is val Element
Syntax: E[att$=val]

Matches the E element in the document that has the att attribute and contains val
Syntax: E[att*=val]

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template