light-dark function

11 230
6.4
Следующее
Популярные
12 дней – 3 8750:47
CSS light-dark function
Опубликовано 26 марта 2024, 19:00
The light-dark() function in CSS lets developers more easily adapt a color-scheme to a user's preference for light or dark mode.
Use the light-dark() function to specify two different color values within a single CSS property. The browser (or device) will automatically choose the appropriate color based on the element's computed color-scheme value.

Speaker: Adriana Jara
автотехномузыкадетское