Skip to content

Instantly share code, notes, and snippets.

@maxpelic
Created August 24, 2013 17:28
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 maxpelic/6329341 to your computer and use it in GitHub Desktop.
Save maxpelic/6329341 to your computer and use it in GitHub Desktop.
Button CSS
/**
*Button CSS
*/
#button{
width:auto;
height:auto;
margin:auto;
padding:10px;
border-radius:5px;
background: #f06;
background: linear-gradient(0deg, #E65C5C, #EE8D8D);
text-decoration:none;
color:white;
font-family:Arial bold, Arial, serif;
box-shadow:3px 3px 3px #E6E6E6;
min-height: 100%;'
}
#button:hover{
box-shadow:0px 0px 0px #E6E6E6;
background: linear-gradient(0deg, #E65C5C, #EE8D8D);
}
#button:active{
box-shadow:0px 0px 0px #E6E6E6;
background: linear-gradient(180deg, #E65C5C, #EE8D8D);
}
<!-- content to be placed inside <body>…</body> -->
// alert('Hello world!');
{"view":"separate","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