Created
September 6, 2017 16:38
-
-
Save mathieutu/9bc3fdee6c80f1dd5e7e5e857aeb520a to your computer and use it in GitHub Desktop.
How to personalize html checkbox
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
.label-highlighted:before { | |
font-family: FontAwesome; | |
content: "\f006"; | |
} | |
.checkbox-highlighted:checked + .label-highlighted:before { | |
content: "\f005"; | |
} | |
.checkbox-highlighted { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment