Reduce image size: use media queries for background images

Subscribers:
791,000
Published on ● Video Link: https://www.youtube.com/watch?v=Dx-WaZkp58Q



Duration: 3:00
29,056 views
840


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







Tags:
responsive images
srcset
background images
progressive web app
PWA
Google Chrome Developers
Google Chrome. Chrome Developers
google chrome developer
chrome developer
GDS: Yes;