light-dark function
Channel:
Subscribers:
791,000
Published on ● Video Link: https://www.youtube.com/watch?v=gPuxwFCNiHI
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
Other Videos By Chrome for Developers
Tags:
Chrome
Developers
Google
Web
pr_pr: Chrome;
gds:Yes;
ct:Excerpt;
Type: Social Video-Social Video Cutdown;