There are a lot more Pseudo Class available through which we can really add special effects without using JavaScript. Below listed Pseudo Classes are some of the examples among those:
:first-child
:focus
:hover
:right
:target
:valid
:visited
:active
:checked
:default
:dir()
:disabled
:empty
:enabled
:first
:root
:scope
:last-child
:last-of-type
:left
:link
:not()
:nth-child()
:only-child
:first-of-type
:fullscreen
:only-of-type
:optional
:out-of-range
:read-only
:read-write
:required
:indeterminate
:in-range
:invalid
:lang()
:nth-last-child()
:nth-last-of-type()
:nth-of-type()
Note: Please check here for browser support details.
Thanks and I will be happy to head from you.
No comments:
Post a Comment