跳至主要内容
CSS-Tricks
文章
笔记
链接
指南
年鉴
随机
搜索
CSS 年鉴
→
选择器
选择器
A
::before / ::after
:active
:any-link
:autofill
相邻兄弟选择器
[attribute]
B
::backdrop
:blank
C
:checked
:current
子元素选择器
类选择器
D
::details-content
:default
:defined
:dir()
:disabled
后代选择器
E
:empty
:enabled
F
::file-selector-button
::first-letter
::first-line
:first
:first-child
:first-of-type
:focus
:focus-visible
:focus-within
:fullscreen
:future
G
通用兄弟选择器
H
:has()
:hover
I
:in-range
:indeterminate
:invalid
:is
ID 选择器
J
K
L
:lang()
:last-child
:last-of-type
:left
:link
M
::marker
N
:not
:nth-child
:nth-last-child
:nth-last-of-type
:nth-of-type
O
:only-child
:only-of-type
:optional
:out-of-range
P
::placeholder
:past
:placeholder-shown
:popover-open
Q
R
:read-write / :read-only
:required
:right
:root
S
::selection
T
:target
类型选择器
U
:user-invalid
通用选择器
V
::view-transition
::view-transition-group
::view-transition-image-new
::view-transition-image-old
::view-transition-image-pair
:valid
:visited
W
:where
X
Y
Z