Skip to content

Instantly share code, notes, and snippets.

@bhargav2785
Created October 28, 2012 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhargav2785/3968298 to your computer and use it in GitHub Desktop.
Save bhargav2785/3968298 to your computer and use it in GitHub Desktop.
Untitled
.ani-border-width{
position: relative;
margin: 50px;
width:200px;
height: 200px;
background-color: steelblue;
line-height: 200px;
text-align: center;
font-size: 28px;
display: block;
-webkit-animation: myAnimation 1s infinite alternate;
}
@-webkit-keyframes myAnimation{
from { -webkit-transform: skew(45deg, 45deg) }
to { -webkit-transform: skew(-45deg, -45deg) }
}
<div class="ani-border-width">hi</div>
{"view":"separate","fontsize":"60","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment