Skip to content

Instantly share code, notes, and snippets.

@rummik
Created April 15, 2014 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rummik/10708557 to your computer and use it in GitHub Desktop.
Save rummik/10708557 to your computer and use it in GitHub Desktop.
Non-ducky Circular Thing
/**
* Non-ducky Circular Thing
*/
.arrow:before {
content: '→';
-webkit-animation: around 5s infinite ease-in-out;
position: absolute;
left: 0;
font-family: monospace;
font-size: 50px;
}
@-webkit-keyframes around {
0% { -webkit-transform: rotateY(-90deg); }
25% { -webkit-transform: rotateY(0) scale(0.5); }
50% { left: calc(100% - 1ch); }
75% { -webkit-transform: rotateY(180deg) scale(1.5); }
100% { -webkit-transform: rotateY(270deg); }
}
<div class="arrow"></div>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"70","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment