I need to create a remove button that appear over my thumbs when a user hover that image with his mouse a link appear like remove from favorites?
Anyone know how to achieve this ?
An example of what I want is youtube quick list button you find over the videos thumbs.
This will show the icon when you hover the thumbnail, and when you hover the icon on top of that, it will change to a hover icon.
Booya!
javaScript:
You can use the following CSS-styled
<div>
to achieve this in pure CSS:CSS:
HTML:
Modified from Daniel Vassallo's original answer:
CSS:
HTML (presuming that it is generated):
JavaScript:
Edit: simplified the HTML.