Reduce image size: use media queries for background images

31 232
12.2
Следующее
03.07.19 – 6 14216:33
BigQuery - The State of the Web
Популярные
107 дней – 4 8800:40
CSS font-size-adjust
135 дней – 2 0930:25
The updates to color in CSS
Опубликовано 27 июня 2019, 17:02
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 → youtube.com/playlist?list=PLNY...

Subscribe to Google Chrome Developers here → goo.gle/ChromeDevs
Свежие видео
6 дней – 1 3777:37
Building AppSheet Chat apps
7 дней – 4 1280:58
Build confidently with Baseline
7 дней – 8672:17
IP networks for the AI era
7 дней – 7990:30
AMD and AI PCs: Performance
автотехномузыкадетское