Difference between revisions of "User:Smashman/vector.css"
Line 1: | Line 1: | ||
− | . | + | .buynow_btn, .buynow_btn span { |
− | + | background:url('http://dl.dropbox.com/u/1961029/btn_buynow_long.png') no-repeat; | |
− | + | color:#FFF; | |
− | + | } | |
− | + | .buynow_btn { | |
− | + | padding:5px 7px 5px 31px; | |
− | . | + | background-position:right 0; |
− | + | position:relative; | |
− | + | } | |
− | background | + | .buynow_btn span { |
− | } | + | background-position:left top; |
− | . | + | width:24px; |
− | background-position: | + | height:24px; |
− | } | + | position:absolute; |
− | . | + | top:0px; |
− | + | left:-1px; | |
− | + | display:block; | |
− | + | cursor:pointer; /* mostly needed for internet explorer */ | |
− | + | } | |
− | + | .buynow_btn:hover { | |
− | + | background-position:right bottom; | |
− | + | } | |
− | + | .buynow_btn:hover span { | |
− | + | background-position:left bottom; | |
− | + | } | |
− | |||
− | } | ||
− | . | ||
− | |||
− | } |
Revision as of 09:22, 2 December 2011
.buynow_btn, .buynow_btn span { background:url('http://dl.dropbox.com/u/1961029/btn_buynow_long.png') no-repeat; color:#FFF; } .buynow_btn { padding:5px 7px 5px 31px; background-position:right 0; position:relative; } .buynow_btn span { background-position:left top; width:24px; height:24px; position:absolute; top:0px; left:-1px; display:block; cursor:pointer; /* mostly needed for internet explorer */ } .buynow_btn:hover { background-position:right bottom; } .buynow_btn:hover span { background-position:left bottom; }