Microsoft team implements native CSS mixins in Chromium

patrickbrosset.com9 min read

The author explores the utility and design of native CSS mixins, an experimental construct currently being implemented in Chromium-based browsers. Unlike custom properties or CSS functions, a mixin can hold multiple declarations, parameters, conditional rules, and nested blocks through the @apply rule and @contents. The author demonstrates how mixins can streamline responsive design breakpoints and power advanced white-label site theming. Open article →

More on this topic