Reduce image size: use media queries for background images
Channel: Chrome for Developers
Date: 2019-06-27

The srcset attribute is a great way to enable the browser to choose the right image size of image with an img element.

But what about background images?

In this video you'll learn how to use media queries to enable the browser to choose the right background image across different devices and display sizes.

Still have questions regarding the use of media queries for background images? Use #AskChrome on Twitter to send them to the Chrome team!

Series playlist → https://www.youtube.com/playlist?list=PLNYkxOF6rcICVl6Vb-AFlw81bQLuv6a_P

Subscribe to Google Chrome Developers here → https://goo.gle/ChromeDevs