Skip to content

Instantly share code, notes, and snippets.

@danielmascena danielmascena/dabblet.css
Last active Mar 15, 2017

What would you like to do?
Hidden checkboxes
/* Hidden checkboxes */
#btnControl { display: none;}
#btnControl:checked + label > img {
transform: scale(.5) rotate(360deg);
img {transition: transform .5s linear;}
<input type="checkbox" id="btnControl"/><label class="btn" for="btnControl"><img src="" id="btnLeft" /></label>
// alert('Hello world!');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.