Created
May 19, 2013 03:58
-
-
Save benytocarlo/5606621 to your computer and use it in GitHub Desktop.
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
<style> | |
input[type=checkbox]:before { content:""; display:inline-block; width:12px; height:12px; background:red; } | |
input[type=checkbox]:checked:before { background:green; } | |
</style> | |
<input type="checkbox" id="chk1" /><br/> | |
<input type="checkbox" id="chk2" /> <label for="chk2">Some label</label> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment