Created
February 25, 2016 10:21
-
-
Save rayets123/62735f77b0e8667b3e7c to your computer and use it in GitHub Desktop.
style for 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 | |
position: relative | |
width: 10px | |
height: 10px | |
display: block | |
input[type="checkbox"] + span | |
position: absolute | |
left: 1px | |
top: 5px | |
width: 11px | |
height: 10px | |
background: url(img/icons/music/chek.png) | |
background-repeat: no-repeat | |
background-position: 0 -10px | |
background-color: transparent | |
cursor: pointer | |
input[type="checkbox"]:checked + span | |
background-position: 1px 2px | |
background-color: #fff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment