Category Archives: css

Show images depending on the browser’s width with CSS only

I had the make promo offers sections form our site. Usually this is an easy task but the requirement on this case was to preserve the full page width design and keep the page usable for 600px wide screens.
So let’s start with the HTML portion.
 
<div id="top_offers">
<a href="#"><img src="1.png" alt="image 1"/></a>
<a href="#"><img [...]