Skip to content

Instantly share code, notes, and snippets.

@jklm313
Created December 26, 2012 17:14
Show Gist options
  • Select an option

  • Save jklm313/4381573 to your computer and use it in GitHub Desktop.

Select an option

Save jklm313/4381573 to your computer and use it in GitHub Desktop.
Untitled
input:checked ~ .wrap {
animation: 1s turn;
animation-fill-mode: forwards;
}
@keyframes turn {
to {
transform: rotate(.25turn);
}
}
.wrap {
height: 200px;
width: 200px;
background: #222;
color: white;
line-height: 200px;
text-align: center;
border-radius: 50%;
}
<input type='radio' name="turn" id="one"/>
<input type='radio' name="turn" id="two"/>
<input type='radio' name="turn" id="three"/>
<input type='radio' name="turn" id="four"/>
<div class="wrap">
ajklajd
</div>
// alert('Hello world!');
{"view":"separate","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