Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input[type=checkbox].css-checkbox {
- position:absolute; z-index:-1000; left:-1000px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;
- }
- input[type=checkbox].css-checkbox + label.css-label {
- padding-left:28px;
- height:22px;
- display:inline-block;
- line-height:22px;
- background-repeat:no-repeat;
- background-position: 0 0;
- font-size:22px;
- vertical-align:middle;
- cursor:pointer;
- }
- input[type=checkbox].css-checkbox:checked + label.css-label {
- background-position: 0 -22px;
- }
- label.css-label {
- background-image:url(http://csscheckbox.com/checkboxes/u/csscheckbox_8f9f6052d68da26a638a24ebce0b659a.png);
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- }
- <input type="checkbox" name="checkboxG4" id="checkboxG4" class="css-checkbox" /><label for="checkboxG4" class="css-label">
Advertisement
Add Comment
Please, Sign In to add comment