xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

CSS pseudo classes All In One

CSS pseudo classes All In One

CSS 伪类

https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes

W3C

https://www.w3.org/TR/CSS1/

https://www.w3.org/TR/CSS2/

https://drafts.csswg.org/selectors-3/

https://drafts.csswg.org/selectors-4/

https://drafts.csswg.org/css-ui-3/

https://www.w3.org/TR/html52/

https://html.spec.whatwg.org/multipage/#pseudo-classes

https://fullscreen.spec.whatwg.org/

:hover & :focus & :visited




:valid & :invalid




:first & :first-child & :first-of-type




:last-child & :last-of-type



:nth-child() & :nth-of-type() & :nth-last-child() & :nth-last-of-type()





:picture-in-picture

画中画


:enabled

...


:is() 🧪 & :has() 🧪



🧪

:dir() 🧪
:host-context() 🧪
:state() 🧪
:where() 🧪

:blank 🧪
:fullscreen 🧪
:any-link 🧪
:placeholder-shown 🧪
:focus-visible 🧪







:nth-col() 🧪 & :nth-last-col() 🧪

new add

:current 🧪
:past 🧪
:drop 🧪
:future 🧪

:local-link 🧪
:target-within 🧪
:user-invalid 🧪











refs




©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2020-11-13 21:29  xgqfrms  阅读(134)  评论(1编辑  收藏  举报