html {
background: salmon;
}
li {
list-style: none;
font-size: 2.5em;
font-family: 'Roboto', sans-serif;
font-weight: 300;
}
* {
color: black;
font-family: 'QuickSand'
}
* {
color: black;
font-family: 'QuickSand'
}
a {
color: black;
text-decoration: none;
position: relative;
&:hover {
&:before {
clip: rect(0,190px,190px,0);
}
}
&:before {
position: absolute;
left: 0;
top: 0;
content: attr(data-content);
display: inline-block;
color: white;
width: 100%;
clip: rect(0,0,0,0);
@include transition(clip $ease-out-quad 400ms);
}
}
.button {
display: inline-block;
margin: 0.3em;
padding: 1.2em 5em;
overflow: hidden;
position: relative;
text-decoration: none;
text-transform: uppercase;
border-radius: 3px;
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
-ms-transition: 0.3s;
-o-transition: 0.3s;
transition: all 400ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
box-shadow: 0 2px 10px rgba(0,0,0,0.5);
border: none;
font-size: 15px;
text-align: center;
}
.button:hover{
box-shadow: 0 17px 50px 0 rgba(0, 0, 0, 0.19), 0 12px 15px 0 rgba(0, 0, 0, 0.24);
}
.button {
box-shadow: 1px 6px 15px rgba(0,0,0,0.5);
background-color: e94043;
color: black;
}
*{
padding: 2px;
margin: 2px;
font-family: Quicksand;
text-align:center;
}