2016年8月2日 星期二

CSS Selectors

A
::after / ::before
:active
Adjacent sibling
[attribute]
B
:blank
C
:checked
Child
Class
D
:default
:disabled
Descendant
E
:empty
:enabled
F
::first-letter
::first-line
:first-child
:first-of-type
:focus
G
General sibling
H
:hover
I
:in-range
:invalid
ID
L
:lang()
:last-child
:last-of-type
:link
M
::marker
:matches()
N<
:not(s)
:nth-child
:nth-last-child
:nth-last-of-type
:nth-of-type
O
:only-child
:only-of-type
:optional
:out-of-range
P
::placeholder
:placeholder-shown
R
:read-write / :read-only
:required
:root
S
::selection
T
:target
Type
U
Universal
V
:valid
:visited

參考資料:https://css-tricks.com/almanac/