Created
May 5, 2016 14:01
-
-
Save anonymous/b2815d4828631bc2374b88bd0e8a0e93 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/wubaxumeva
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
div{font-size:150%} | |
#underline{ | |
border-top: 5px solid black; | |
animation: slide 2s; | |
width:310px; | |
} | |
@keyframes slide{ | |
from{width:0px;} | |
to{width:310px;} | |
} | |
</style> | |
</head> | |
<body> | |
<div>Hello, this is a sliding underline</div> | |
<div id="underline"></div> | |
<script id="jsbin-source-css" type="text/css">div{font-size:150%} | |
#underline{ | |
border-top: 5px solid black; | |
animation: slide 2s; | |
width:310px; | |
} | |
@keyframes slide{ | |
from{width:0px;} | |
to{width:310px;} | |
}</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div{font-size:150%} | |
#underline{ | |
border-top: 5px solid black; | |
animation: slide 2s; | |
width:310px; | |
} | |
@keyframes slide{ | |
from{width:0px;} | |
to{width:310px;} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment