Skip to content

Instantly share code, notes, and snippets.

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

Embed
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="http://placekitten.com.s3.amazonaws.com/homepage-samples/200/140.jpg" id="btnLeft" /></label>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
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.