Created
August 20, 2016 09:50
-
-
Save anonymous/93f8c4d42140cd7c0267a9f74bc7df63 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/hifasezagi
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"> | |
.button{ | |
background: #FFF; | |
border: 2px solid black; | |
margin: 25px; | |
padding: 10px 20px 10px 20px; | |
text-align:center; | |
cursor: pointer; | |
font-family: 'OpenSansBold', sans-serif; | |
font-size: 14px; | |
font-weight: bold; | |
box-shadow: inset 0 0 0 0 #31302B; | |
-webkit-transition: all ease 0.8s; | |
-moz-transition: all ease 0.8s; | |
transition: all ease 0.8s; | |
} | |
.button:hover{ | |
box-shadow: inset 170px 0 0 0 #31302B; | |
color:white; | |
} | |
</style> | |
</head> | |
<body> | |
<button class="button">Hello</button> | |
<script id="jsbin-source-css" type="text/css">.button{ | |
background: #FFF; | |
border: 2px solid black; | |
margin: 25px; | |
padding: 10px 20px 10px 20px; | |
text-align:center; | |
cursor: pointer; | |
font-family: 'OpenSansBold', sans-serif; | |
font-size: 14px; | |
font-weight: bold; | |
box-shadow: inset 0 0 0 0 #31302B; | |
-webkit-transition: all ease 0.8s; | |
-moz-transition: all ease 0.8s; | |
transition: all ease 0.8s; | |
} | |
.button:hover{ | |
box-shadow: inset 170px 0 0 0 #31302B; | |
color:white; | |
}</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
.button{ | |
background: #FFF; | |
border: 2px solid black; | |
margin: 25px; | |
padding: 10px 20px 10px 20px; | |
text-align:center; | |
cursor: pointer; | |
font-family: 'OpenSansBold', sans-serif; | |
font-size: 14px; | |
font-weight: bold; | |
box-shadow: inset 0 0 0 0 #31302B; | |
-webkit-transition: all ease 0.8s; | |
-moz-transition: all ease 0.8s; | |
transition: all ease 0.8s; | |
} | |
.button:hover{ | |
box-shadow: inset 170px 0 0 0 #31302B; | |
color:white; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment