Skip to content

Instantly share code, notes, and snippets.

@lorenzoferrante
Created August 17, 2013 15:04
Show Gist options
  • Save lorenzoferrante/6257326 to your computer and use it in GitHub Desktop.
Save lorenzoferrante/6257326 to your computer and use it in GitHub Desktop.
Button by Lorenzo Ferrante
/**
* Button by Lorenzo Ferrante
*/
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400|Raleway:400,300);
html {
background: #eee;
background: linear-gradient(0deg, #eee, #acc0c0);
min-height: 100%;
font-family: 'Source Sans Pro';
}
a {
text-decoration: none;
color: #fff;
font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
}
a.btn {
padding: 8px 20px;
border-radius: 4px;
}
a.btn.home {
background: linear-gradient(0deg, #58a16b, #67ba7c);
border: 1px solid #5f966e;
box-shadow: inset 0 1px rgba(255,255,255, .4);
}
a.btn.home:hover {
background: linear-gradient(0deg, #67ba7c, #58a16b);
}
<a href="#" class="btn home">Primary</a>
// 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