Responsive Images for web
2 min readSep 2, 2022
Recently I learned a new thing about responsive images and want to share it here.
As we all know, we can create responsive images through CSS and media queries but <picture>
element allow us to show multiple images according to the browser viewport.
With CSS
First, let's see an example of a responsive image using CSS
<img…