![](https://www.bram.us/wordpress/wp-content/uploads/2023/10/css-light-dark-1568x752.png)
A function that computes to the first color if the used color scheme is light or unknown, or to the second color if the used color scheme is dark.
A rather geeky/technical weblog, est. 2001, by Bramus
light-dark()
@property
improvements in Chrome DevTools (Chrome 118)This talk by Patrick Brosset is one of my favorite talks from this year’s CSS Day Conference. How do browsers actually recalculate styles when webpages change? Can the way you write CSS impact the speed of the recalculation process? In this talk, we’ll go through the details of how browser engines react to DOM changes …