Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
.product-image {
width: 50px;
height: 50px;
.new {
background-image: url(/some/image/new.png);
position: absolute;
display: block;
left: 3px;
top: 3px;
<a href="cart.html">
<img class="product-image new" src="/products/hats/3455.jpg">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment