Skip to content

Instantly share code, notes, and snippets.

@mercer08
Last active August 4, 2017 12:32
Show Gist options
  • Save mercer08/aec2978f8435132b7123b4e5b38d71ba to your computer and use it in GitHub Desktop.
Save mercer08/aec2978f8435132b7123b4e5b38d71ba to your computer and use it in GitHub Desktop.
button style code from css secrets
button{
padding: .3em .8em;
border: 1px solid rgba(0,0,0,.1);
background: #58a linear-gradient(hsla(0,0%,100%,.2),transparent);
border-radius: .2em;
box-shadow: 0 .05em .25em rgba(0,0,0,.5);
color: white;
text-shadow: 0 -.05em .05em rgba(0,0,0,-.5);
font-size: 125%;
line-height: 1.5;
}
button .ok{
background-color: #6b0;
}
button .cancel{
background-color: #c00;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment