Skip to content

Instantly share code, notes, and snippets.

@jordandobson
Created January 4, 2010 07:04
Show Gist options
  • Save jordandobson/268369 to your computer and use it in GitHub Desktop.
Save jordandobson/268369 to your computer and use it in GitHub Desktop.
a#cartButton{
overflow: visible;
}
a#cartButton small.indicator{
font-size: 1em;
position: absolute;
display: block;
overflow: hidden;
top: -.5em;
right: 100%;
margin-right: -.425em;
height: 1.1em;
line-height: 1.1em;
padding: .1em .4em;
border: .2em solid #fff;
text-align: center;
text-shadow: rgba(0, 0, 0, 0.33) 0px -1px 0;
-webkit-box-shadow: rgba(0, 0, 0, 1.0) 0px 3px 5px;
-webkit-border-radius: .9em;
background-color: #f00;
background: -webkit-gradient(
linear, 0% 0%, 0% 100%,
from(#eb9099),
to(#a70d05));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment