<style type="text/css">
.market{
background-color: #2daebf;
border-top: 1px solid rgba(0255,255,255,0.7);
border-bottom: 1px solid rgba(0,0,0,0.2);
color: #fff;
cursor: pointer;
display: inline-block;
font-size:14px;
font-family:"Lucida Grande",Verdana,Helvetica,Arial,sans-serif;
font-weight:bold;
padding: 6px 10px 6px;
position: relative;
text-decoration: none;
text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
width:90px;
/* button color change */
-webkit-transition: background-color .2s linear;
-moz-transition:background-color .2s linear;
-o-transition:background-color .2s linear;
transition:background-color .2s linear;
/* shadow pulse */
-webkit-animation-name: pulse;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-direction: alternate
}
@-webkit-keyframes pulse{
0%{
box-shadow:0 0 1px rgba(197,95,0,0.9);
-moz-box-shadow:0 0 1px rgba(15, 232, 255, 0.9);
-webkit-box-shadow:0 0 1px rgba(197, 95, 0, 0.4);
}
100%{
box-shadow:0 0 10px rgba(197,95,0,0.7);
-moz-box-shadow:0 0 15px rgba(197, 95, 0, 0.7);
-webkit-box-shadow:0 0 15px rgba(15, 232, 255, 0.6);
}
}
.market:hover{
background-color: #007d9a;
color: #fff;
transition:background-color .2s linear;
-moz-transition:background-color .2s linear;
-o-transition:background-color .2s linear;
-webkit-transition: background-color .2s linear;
}
.market:active{
top: 1px;
}
.market span{
-webkit-animation-name: arrow;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-direction: alternate;
}
@-webkit-keyframes arrow {
from {
margin:0 0 0 0;
}
to {
margin:0 0 0 4px;
}
}
</style>
<p><a href="#" class="market">Buy Now <span>»</span></a></p>
I had an idea for a simple marketing button and this is my rough draft. Nothing like a pulsing & moving button to get the users attention. Oblivious best viewed in a webkit browser. You can find a working example here: jsfiddle.net/GsYjm/