Created
September 11, 2012 16:49
-
-
Save felixzapata/3699774 to your computer and use it in GitHub Desktop.
Secret sauce from "Checkboxes and the ridiculous things you can do with them"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
http://thecssninja.com/talks/ridiculous_checkboxes/#/ | |
*/ | |
/* Off */ | |
input[type="checkbox"] ~ div { | |
// Fancy styles | |
} | |
/* On */ | |
input[type="checkbox"]:checked ~ div { | |
// Fancy styles | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment