caoweiju / learn_load

前端学习的足迹记录和tolist
MIT License
0 stars 0 forks source link

CSS伪类学习 #3

Open caoweiju opened 5 years ago

caoweiju commented 5 years ago

CSS伪类学习,主要是伪类选择器的选择规则!

caoweiju commented 5 years ago

从mdn上面获取的完整伪类列表

:active
:any-link
:checked
:blank [我来译!]
:default
:defined
:dir()
:disabled
:empty
:enabled
:first
:first-child
:first-of-type
:fullscreen
:focus
:focus-within
:has
:host() [我来译!]
:host-context() [我来译!]
:hover
:indeterminate
:in-range
:invalid
:matches() (:any())
:lang
:last-child
:last-of-type
:left
:link
:not()
:nth-child
:nth-last-child
:nth-last-of-type
:nth-of-type
:only-child
:only-of-type
:optional
:out-of-range
:placeholder-shown
:read-only
:read-write
:required
:right [我来译!]
:root
:scope
:target
:valid
:visited
:where() - The specificity adjustment pseudo-class