<div class="btn-container">
<button class="btn"><span class="btn-text">Boo!</span></button>
</div>
$orange: #ff6600;
$black: #000000;
body {
background-color: $black;
}
.btn {
&-container {
width: 100%;
text-align: center;
}
&-text {
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
font-size: 16px;
height: 60px;
width: 180px;
border-width: 1px;
border-color: $black;
background-color: $orange;
border-radius: 8px;
&:hover {
font-size: 28px;
text-transform: uppercase;
-webkit-transition: 0.1;
transition: 0.1s;
background: none;
border: 0.35px solid $orange;
color: $orange;
}
&:focus {
outline: 0;
}
}
View Compiled
This Pen doesn't use any external CSS resources.