Reduce image size: use media queries for background images

31 759
12.5
Следующее
03.07.19 – 6 16816:33
BigQuery - The State of the Web
Популярные
194 дня – 32 998 0710:28
Slow server problems? Try this #DevToolsAI
194 дня – 73 839 5920:22
Baseline is now in DevTools
Опубликовано 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
Случайные видео
166 дней – 35 0045:26
Introduction to Vertex AI Agent Engine
346 дней – 84 75712:42
Adam Savage Assembles a Mini Wren!
автотехномузыкадетское