Last active
August 29, 2015 14:26
-
-
Save eliranmal/922d3fef2d318ebbfb64 to your computer and use it in GitHub Desktop.
switching kittens #5 - be aggressive, b-e aggressive
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
/* switching kittens #5 - be aggressive, b-e aggressive */ | |
input[type=checkbox] { | |
appearance: none; | |
} | |
input[type=checkbox] + label { | |
background-image: url('//placekitten.com/407/407'); | |
display: block; | |
width: 400px; | |
height: 400px; | |
} | |
input[type=checkbox]:checked + label { | |
background-image: url('//placekitten.com/409/400'); | |
} |
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
<input type="checkbox" id="my-checkbox" /> | |
<label for="my-checkbox"></label> |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment