Skip to content

Instantly share code, notes, and snippets.

@jmwhittaker
Created June 3, 2014 13:27
Show Gist options
  • Save jmwhittaker/fd04459dc26e6937d48b to your computer and use it in GitHub Desktop.
Save jmwhittaker/fd04459dc26e6937d48b 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
*/
.badge {
position:absolute;
left:200px;
top:200px;
background:red;
display:inline-block;
padding:2px 3px;
border-radius:3px;}
.animated {
animation-duration: 0.5s;
animation-fill-mode: both;
}
@keyframes rotateInUpLeft {
0% {
transform-origin: -10px 0;
transform: rotate(90deg);
opacity: 0;
}
100% {
transform-origin: left top;
transform: rotate(0);
opacity: 1;
}
}
.rotateInUpLeft {
animation-name: rotateInUpLeft;
}
<div class="badge rotateInUpLeft animated">29</div>
{"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