Skip to content

Instantly share code, notes, and snippets.

@GEverding
Created November 27, 2012 19:09
Show Gist options
  • Save GEverding/4156319 to your computer and use it in GitHub Desktop.
Save GEverding/4156319 to your computer and use it in GitHub Desktop.
Epic CSS Selector
#slider1:checked ~ .bg #active label:nth-child(1),
#slider2:checked ~ .bg #active label:nth-child(2),
#slider3:checked ~ .bg #active label:nth-child(3) {
background: #0adfb3;
border-color: #333 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment