Skip to content

Instantly share code, notes, and snippets.

@cahnory
Created January 30, 2012 13:03
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 cahnory/1704291 to your computer and use it in GitHub Desktop.
Save cahnory/1704291 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {background:#444; }
.button {
background: linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.2));
border:none;
border-radius: 3px;
box-shadow: inset 0 1px rgba(255,255,255,.15), 0 2px rgba(0,0,0,.3), 0 0 0 4px rgba(0,0,0,.2), 0 1px 0 4px rgba(255,255,255,.2);
color: black;
cursor: pointer;
font: 13px Helvetica, arial, sans-serif;
margin: 0 4px;
padding: .5em 1em;
text-decoration:none;
text-shadow: 0 1px rgba(255,255,255,.3);
}
<input class="button" type="submit" value="submit" />
<button class="button">button</button>
<a class="button" href="#">link</a>
{"view":"split","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment