First Public Working Draft: CSS Functions and Mixins Module


The CSS Working Group has published a First Public Working Draft of CSS Functions and Mixins Module. This module defines the ability for authors to define custom functions, acting similar to parametrized custom properties. They can use the full power of CSS’s values and conditional rules. It also defines an early form of a similar idea for CSS rule mixins, allowing parametrized substitution of entire blocks of properties into other rules.