CSS3 Picker Sorting

Source: Internet
Author: User


Property selector:
E[name] Property name is an element of name
*e[name=value] Property name is name value for value element
E[name~=value] contains the word element of value
E[name^=value] An element that begins with the word value
E[name$=value] The element ending with the word value
*e[name*=value] As long as the element containing the value of this thing
E[name|=value] Something that begins with value-or pure value

<a href= "XXXPDFXX" >
<a href= "Xxxdocxx" >

a[href*=pdf]{}
a[href*=doc]{}
----------------------------
Structural pseudo-Class selectors:
* E:nth-child (n) exactly nth, counting starting from 1
Nth-child (odd) odd
Nth-child (even) even
Nth-child (n) all numbers, starting from 0
Multiples of nth-child (2n) 2
Nth-child (2n+1)
Nth-child (2n-1)
E:nth-last-child (n) The nth of the penultimate

E:first-child = "Nth-child (1)
E:last-child = "Nth-last-child (1)

An element of type E:nth-of-type (n)
E:nth-last-of-type (N)
----------------------------
E:disabled cannot use form elements
E:enabled the available form elements
E:checked selected form elements

E:empty empty Element
E:target anchor element by anchor Point
E:not (some) in addition to some elements of something

----------------------------
Text pseudo-Class selector:
E:first-line first line of text
The first word of e:first-letter

e::selection{} Select text Super Pseudo class

:: selection{} All

After e::after{}
e:after{}
Content: '

e::before{}

e:before{}
Content: '

CSS3 Picker Sorting

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.