Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input[type="checkbox"] {
- display:none;
- }
- input[type="checkbox"] + label span {
- display: inline-block;
- width: 167px;
- height: 30px;
- margin: 20px 0 0 0;
- vertical-align: middle;
- background: url('image.png') no-repeat 0 -103px;
- cursor: pointer;
- }
- input[type="checkbox"]:checked + label span {
- background: url('image.png') no-repeat 0 4px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement