Created
June 5, 2012 15:18
-
-
Save oskaremil/2875613 to your computer and use it in GitHub Desktop.
Fancy button draft
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
/** | |
* Fancy button draft | |
*/ | |
input.fancybutton{ | |
font-size: 2em; | |
height: 3em; | |
width: 8em; | |
border-radius: 20px; | |
border-color: rgba(0,0,0,.2); | |
border-radius: .3em; | |
background-image: | |
linear-gradient( | |
hsla(0,0%,100%,.5), | |
rgba(0,0,255,1) 60% | |
); | |
text-shadow: 0 .05em .05em white; | |
box-shadow: | |
0 1px rgba(255,255,255,.8) inset, | |
0 .3em .3em -.3em black; | |
} | |
div{ | |
margin: 30% | |
} |
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><input type="button" class="fancybutton" value="press me" /></div> |
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
{"view":"split-vertical","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