← Back to release summary

CSS Custom Functions

Category
CSS
Type
New or changed feature
Status
In developer trial (Behind a flag) (Chrome 139)
Intent stage
None

Summary

Custom Functions are similar to custom properties, but instead of returning a single, fixed value, they return values based on other custom properties, parameters, and conditionals.

Standards & signals

Explainers: https://css.oddbird.net/sasslike/mixins-functions

View on chromestatus.com