Created
April 4, 2013 11:44
-
-
Save curtismitchell/5309722 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.classname { | |
box-shadow:inset 0px 1px 0px 0px #ffffff; | |
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6) ); | |
background:-moz-linear-gradient( center top, #ffffff 5%, #f6f6f6 100% ); | |
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6'); | |
background-color:#ffffff; | |
border-radius:4px; | |
border:1px solid #dcdcdc; | |
display:inline-block; | |
color:#666666; | |
font-family:Arial; | |
font-size:16px; | |
font-weight:bold; | |
padding:5px 24px; | |
text-decoration:none; | |
text-shadow:1px 1px 0px #ffffff; | |
}.classname:hover { | |
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff) ); | |
background:-moz-linear-gradient( center top, #f6f6f6 5%, #ffffff 100% ); | |
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff'); | |
background-color:#f6f6f6; | |
}.classname:active { | |
position:relative; | |
top:1px; | |
} | |
/* This imageless css button was generated by CSSButtonGenerator.com */ |
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
<a class="classname">testing</a> | |
<button class="classname">this is a button</button> |
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
// alert('Hello world!'); |
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","fontsize":"100","seethrough":"","prefixfree":"","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment