CSS3 Buttons
by Ilmv
HTML
<a href="#">Launch Demo!</a>
<br />
<a href="#">Request Private Demo</a>
CSS
body {
background-color: #00a3d9;
}
p {border:1px solid red}
a {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: 0px 2px 5px rgba(0,0,0,.8);
-moz-box-shadow: 0px 2px 5px rgba(0,0,0,.8);
-webkit-box-shadow: 0px 2px 5px rgba(0,0,0,.8);
margin-top: 0px;
margin-bottom: 6px;
background-color: rgb(121,161,0);
outline: none;
color: white;
text-decoration: none;
text-shadow: 0 -1px 1px rgba(0,0,0,.4);
font-family: Arial;
font-size: 20px;
font-weight: bold;
line-height: 20px;
display: inline-block;
/* display: block;
width: 200px;
height: 40px; */
padding: 15px;
text-align: center;
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.03, rgb(121,161,0)),
color-stop(1, rgb(144,189,9))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(121,161,0) 3%,
rgb(144,189,9) 100%
);
}
a:active {
outline: none;
margin-top: 1px;
margin-bottom: 5px;
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.9);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.9);
}