I know the classic way of using tag
<picture>
<a href="#top-test">
<img src="images/sample.gif" style="float:left" alt="Demo">
</a>
</picture>
But I found a website using instead just divs and using all the time background-image to display the image.
Is there any advantage or reasons they's do that ? It is because it's easier to put the two images that appear dynamically on hover 'bid now' and 'watch list'
<div class="category-image">
<a href="/catalog_items/571200">
<div class="lot-thumb" data-original="http://s3.amazonaws.com/images.charitybuzz.com/images/135744/home_page_thumb.jpg?1401827702" style="display: block; background-image: url(http://s3.amazonaws.com/images.charitybuzz.com/images/135744/home_page_thumb.jpg?1401827702);">
</div>
</a>
<a class="button important item-bidder hide-for-medium-down" href="/catalog_items/571200">Bid Now</a>
<a class="button important item-watcher hide-for-medium-down" href="/catalog_items/571200/toggle_watch" data-item-id="571200" data-view="watcher">+ Watchlist</a>
</div>
To check: it is taken from http://www.charitybuzz.com/ ?
thanks