Skip to content

Instantly share code, notes, and snippets.

@QETHAN
Created May 5, 2014 03:34
Show Gist options
  • Save QETHAN/11528284 to your computer and use it in GitHub Desktop.
Save QETHAN/11528284 to your computer and use it in GitHub Desktop.
A Pen by MSA Code and Design.
<br><Br>
<section>
<button id="js-trigger-overlay" type="button">Button Effect</button>
</section>
body {
min-height: 100%;
margin: 0;
padding: 0;
font: 400 1.4rem 'Lato', Verdana, Helvetica, sans-serif;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#wrapper {
width: 100%;
margin: 0;
padding: 0;
}
.container {
width: 80%;
margin: 0 auto;
}
section button {
margin: 0 auto;
font-size: 2.0rem;
padding: 1.25rem 2.5rem;
display: block;
background-color: #009ac9;
border: 1px solid transparent;
color: #ffffff;
font-weight: 300;
-webkit-border-radius: 3px;
border-radius: 3px;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
section button:hover {
background-color: #ffffff;
color: #009ac9;
border-color: #009ac9;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment