Responsive design – replacing images depending on screen size

Using media queries we can change background images. In order to change and actual image (not background) we need javascript, so just use a div with defined size and a background image.
On small screen we can also decrease font size for large banners.

Leave a Reply

Your email address will not be published. Required fields are marked *