I am experiencing some issues. Even though the CSS code for these two buttons is exactly the same, their appearance is different. I am unable to make the :hover or :active effects work either.
My goal is to have the left 'input type="submit' button look just like the 'a href=""' button. Any suggestions?
View the problem in the code example on JSFiddle: http://jsfiddle.net/aL6M6/7/
The CSS code is identical for .button-big and .button-big-submit
Thank you!
.button-big
{
display: inline-block;
background: #ed391b;
color: #fff;
text-decoration: none;
font-size: 1.75em;
font-weight: 300;
padding: 15px 45px 15px 45px;
outline: 0;
border-radius: 10px;
box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.75), inset 0px 2px 0px 0px rgba(255,192,192,0.5), inset 0px 0px 0px 2px rgba(255,96,96,0.85), 3px 3px 3px 1px rgba(0,0,0,0.15);
background-image: -moz-linear-gradient(top, #ed391b, #ce1a00);
background-image: -webkit-linear-gradient(top, #ed391b, #ce1a00);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ed391b), to(#ce1a00));
background-image: -ms-linear-gradient(top, #ed391b, #ce1a00);
background-image: -o-linear-gradient(top, #ed391b, #ce1a00);
background-image: linear-gradient(top, #ed391b, #ce1a00);
text-shadow: -1px -1px 1px rgba(0,0,0,0.5);
}
.button-big:hover
{
background: #fd492b;
box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.75), inset 0px 2px 0px 0px rgba(255,192,192,0.5), inset 0px 0px 0px 2px rgba(255,96,96,0.85), 3px 3px 3px 1px rgba(0,0,0,0.15);
background-image: -moz-linear-gradient(top, #fd492b, #de2a10);
background-image: -webkit-linear-gradient(top, #fd492b, #de2a10);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fd492b), to(#de2a10));
background-image: -ms-linear-gradient(top, #fd492b, #de2a10);
background-image: -o-linear-gradient(top, #fd492b, #de2a10);
background-image: linear-gradient(top, #fd492b, #de2a10);
text-decoration: none;
}
.button-big:active
{
background: #ce1a00;
box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.75), inset 0px 2px 0px 0px rgba(255,192,192,0.5), inset 0px 0px 0px 2px rgba(255,96,96,0.85), 3px 3px 3px 1px rgba(0,0,0,0.15);
background-image: -moz-linear-gradient(top, #ce1a00, #ed391b);
background-image: -webkit-linear-gradient(top, #ce1a00, #ed391b);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ce1a00), to(#ed391b));
background-image: -ms-linear-gradient(top, #ce1a00, #ed391b);
background-image: -o-linear-gradient(top, #ce1a00, #ed391b);
background-image: linear-gradient(top, #ce1a00, #ed391b);
}