One of my favourite posts from my #100DaysOfMoreOrLessModernCSS series: “Day 82: value processing”
One of my favourite posts from my #100DaysOfMoreOrLessModernCSS series: “Day 82: value processing”
Day 109: the animation-composition property
CSS animations can be composited in three ways: replace, add, and accumulate. The animation-composition property allows you to switch between them.
Day 108: the of S syntax in :nth-child()
You can use the of S syntax in the :nth-child() pseudo-class to filter elements before the arguments in :nth-child() apply.
Day 107: the light-dark() color function
The `light-dark()` color function allows you to define two values for a color property. The property uses the first value when the color scheme is light or unknown and the second when it's dark.
@bastianallgeier @sarajw yeah, they're super useful. I wrote about them in my #100DaysOfMoreOrLessModernCSS
Day 106: the scripting media feature
The scripting media feature is an excellent addition to CSS for those who believe in progressive enhancement: It enables you to detect whether scripting languages, such as JavaScript, are supported.