Skip to content

Instantly share code, notes, and snippets.

@digitalnature
Created July 14, 2013 21:25
Show Gist options
  • Save digitalnature/5996168 to your computer and use it in GitHub Desktop.
Save digitalnature/5996168 to your computer and use it in GitHub Desktop.
Untitled
button{
color: #f2f4f0;
text-shadow: 0px 1px 0px rgba(0,0,0, 0.75);
font-size: 18px;
padding: 10px 30px;
background: linear-gradient(to bottom, #6ca44b 0%, #4d872b 100%);
border: 4px solid #e5e5e5;
border-radius: 40px;
box-shadow: inset 0px 0px 2px rgba(0,0,0, 0.5),
inset 0px 2px 0px rgba(255,255,255, 0.25);
}
button.pressed{
background: #40781f;
box-shadow: inset 0px 0px 2px rgba(0,0,0, 0.5),
inset 0px 2px 2px rgba(0,0,0, 0.25);
}
<button>Helloooo</button>
<button class="pressed">Helloooo</button>
// alert('Hello world!');
{"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