<div id="center">
<header>Welcome.</header>
<input style="float: left;" type="button" value="Home"></input>
<input style="margin-left: 10px; float: left;" type="button" value="About"></input>
<input style="margin-left: 10px; float: left;" type="button" value="Contact"></input>
<input style="margin-left: 10px; float: left;" type="button" disabled value="Lost?"></input>
</div>
<div id="uniform">
<a target="_blank" href="https://codepen.io/collection/afpyG/">More buttons</a>
</div>
@import url(https://fonts.googleapis.com/css?family=Damion|Istok+Web:400,700);
@import url(https://fonts.googleapis.com/css?family=Oleo+Script+Swash+Caps|Finger+Paint|Clicker+Script);
body {
background: #eee;
font-family: sans-serif;
margin: 0;
padding: 0;
}
#uniform {
display:block;
text-align: right;
background: black;
color: white;
position: absolute;
bottom: 0;
height: 50px;
letter-spacing: 1px;
line-height: 50px;
font-size: 10px;
right: 0;
left: 0;
}
#uniform a {
color: white;
border: 1px solid white;
padding: 5px 7px;
border-radius: 2px;
text-decoration: none;
text-transform: uppercase;
height: 40px;
margin: 0 10px;
}
#uniform a:hover {
background: white;
color: black;
}
#center {
display:block;
position: absolute;
margin: auto;
top: 0;
bottom: 50px;
left: 0;
right: 0;
height: 163px;
width: 430px;
overflow: visible;
}
header {
font-family: Finger Paint;
font-size: 80px;
opacity: .85;
cursor: default;
margin-bottom: 15px;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
user-select: none;
}
input[type="button"] {
border: 1px solid #0f988e;
font-family: Istok Web;
letter-spacing: 1px;
padding: 0;
text-align: center;
width: 100px;
display: block;
height: 30px;
line-height: 30px;
font-size: 14px;
text-transform: uppercase;
font-weight: normal;
border-radius: 3px;
outline: none;
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
top: -3px;
transform: translateY(0px);
position: relative;
box-shadow: inset 0 30px 30px -15px rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.3), inset 0 1px 20px rgba(0,0,0,0), 0 3px 0 #0f988e, 0 3px 2px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.1), 0 10px 20px rgba(0,0,0,.1);
background: #15ccbe;
color: white;
text-shadow: 0 1px 0 rgba(0,0,0,.3);
transition: 150ms all;
-webkit-transition 150ms all;
-moz-transition: 150ms all;
-o-transition: 150ms all;
-ms-transition: 150ms all;
}
input[type="button"]:active {
transform: translateY(3px);
box-shadow: inset 0 16px 2px -15px rgba(0,0,0,0), inset 0 0 0 1px rgba(255,255,255,.15), inset 0 1px 20px rgba(0,0,0,.1), 0 0 0 #0f988e, 0 0 0 2px rgba(255,255,255,.5), 0 0 0 rgba(0,0,0,0), 0 0 0 rgba(0,0,0,0);
}
input[type="button"][disabled] {
cursor: default;
background: #eee;
color: #bbb;
border-color: #bbb;
text-shadow: 0 1px 0 white;
box-shadow: inset 0 0 0 1px rgba(255,255,255,1), inset 0 1px 20px rgba(0,0,0,0), 0 3px 0 #bbb, 0 0 0 1px white, 0 3px 0 1px white, 0 10px 20px rgba(0,0,0,0);
top: -3px;
transition: none;
-webkit-transition: none;
-moz-transition: none;
-o-transition: none;
-ms-transition: none;
}
input[type="button"][disabled]:active {
top: -2px;
box-shadow: inset 0 0 0 1px rgba(255,255,255,1), inset 0 1px 20px rgba(0,0,0,0), 0 2px 0 #bbb, 0 0 0 1px white, 0 2px 0 1px white, 0 10px 20px rgba(0,0,0,0);
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.