Skip to content

Instantly share code, notes, and snippets.

@danielbouman
Created June 4, 2012 17:08
Show Gist options
  • Save danielbouman/2869574 to your computer and use it in GitHub Desktop.
Save danielbouman/2869574 to your computer and use it in GitHub Desktop.
Basket button, Wine I Suppose
#content a.add{
width: 94px;
height: 37px;
position: absolute;
right: 18px;
top: 102px;
padding: 0 0 0 30px;
font: bold 12px/37px 'Arial';
color: #3f3f3f;
background: url('images/add.png');
}
#content a.add:hover{
background-position: bottom;
}
#content a.add:active, #content a.add:focus{
padding: 2px 0 0 30px;
height: 35px;
line-height: 35px;
}
vervangen door:
#content input.add{
width: 94px;
height: 37px;
position: absolute;
right: 18px;
top: 102px;
padding: 0 0 0 30px;
font: bold 12px/37px 'Arial';
color: #3f3f3f;
background: url('images/add.png');
}
#content input.add:hover{
background-position: bottom;
}
#content input.add:active, #content input.add:focus{
padding: 2px 0 0 30px;
height: 35px;
line-height: 35px;
}
<a class="add" href="#" title="Add to basket">Add to basket</a>
vervangen door:
<fieldset><input type="submit" value="Add to basket" class="add"/></fieldset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment