Skip to content

Instantly share code, notes, and snippets.

@gunnarbittersmann
Created August 24, 2012 02:53
Show Gist options
  • Select an option

  • Save gunnarbittersmann/3444988 to your computer and use it in GitHub Desktop.

Select an option

Save gunnarbittersmann/3444988 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
a
{
background: #f93;
border-radius: 0.5em;
display: inline-block;
height: 2em;
overflow: hidden;
text-indent: 100%;
width: 2em;
}
a:hover
{
animation-name: wobble;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-direction: normal;
}
@keyframes wobble
{
from, 50%, to
{
transform: rotate(0deg);
animation-timing-function: ease-out;
}
25%
{
transform: rotate(15deg);
animation-timing-function: ease-in;
}
75%
{
transform: rotate(-15deg);
animation-timing-function: ease-in;
}
}
<a>example</a>
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment