BF3 Button
updated 9/28/2018
by wholypantalones
HTML
<script src="https://fonts.googleapis.com/css?family=Roboto"></script>
<section>
<a class="button">Join Server</a>
</section>
CSS
body {
background: #eee;
}
section {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.button {
font-size: 26px;
font-family: 'Roboto', sans-serif;
background: #f5a802;
background: -moz-linear-gradient(center top, #fcd053, #f5a802);
background: -webkit-gradient(linear, left top, left bottom, from(#fcd053), to(#f5a802));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcd053', endColorstr='#f5a802');
padding: 12px 90px 7px 90px;
color: #000;
text-transform: uppercase;
text-shadow: 0 1px 0 #fcda87;
-moz-box-shadow: 0 1px 0 #feedbb inset, 0 1px 0 rgba(0, 0, 0, 0.4);
-webkit-box-shadow: 0 1px 0 #feedbb inset, 0 1px 0 rgba(0, 0, 0, 0.4);
box-shadow: 0 1px 0 #feedbb inset, 0 1px 0 rgba(0, 0, 0, 0.4);
border: 1px solid #fcc42e;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
position: relative;
}
.button:hover {
cursor: pointer;
background: #f6b114;
background: -moz-linear-gradient(center top, #fcdc81, #f6b114);
background: -webkit-gradient(linear, left top, left bottom, from(#fcdc81), to(#f6b114));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcdc81', endColorstr='#f6b114');
}
.button:active {
cursor: pointer;
background: #d89001;
background: -moz-linear-gradient(center top, #ddab3a, #d89001);
background: -webkit-gradient(linear, left top, left bottom, from(#ddab3a), to(#d89001));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ddab3a', endColorstr='#d89001');
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) inset;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) inset;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) inset;
border: none;
}