Skip to content

Instantly share code, notes, and snippets.

@red2678
Created September 30, 2014 00:00
Show Gist options
  • Select an option

  • Save red2678/7fc0c75dc54ffa575ec4 to your computer and use it in GitHub Desktop.

Select an option

Save red2678/7fc0c75dc54ffa575ec4 to your computer and use it in GitHub Desktop.
CSS Pseudo-Classes
Info here: https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes
and here: http://www.w3schools.com/cssref/css_selectors.asp
---
:active
:checked
:default
:dir()
:disabled
:empty
:enabled
:first
:first-child
:first-of-type
:fullscreen
:focus
:hover
:indeterminate
:in-range
:invalid
: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
:read-only
:read-write
:required
:right
:root
:scope
:target
:valid
:visited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment