Skip to content

Instantly share code, notes, and snippets.

@mathieutu
Created September 6, 2017 16:38
Show Gist options
  • Save mathieutu/9bc3fdee6c80f1dd5e7e5e857aeb520a to your computer and use it in GitHub Desktop.
Save mathieutu/9bc3fdee6c80f1dd5e7e5e857aeb520a to your computer and use it in GitHub Desktop.
How to personalize html checkbox
.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