You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @function CSS at-rule enables defining CSS custom functions. Once defined, a custom function can be called using the syntax (for example, --my-function(30px, 3)) within any property value.
This feature has shipped in Chrome 139, with Safari including it in Safari Tech Preview 249.
Reacted by phantomxx29474, Andrew Hudson, Fabian Bühler, CuriousMissFox , Nilesh Prajapati, Michaël Vanderheyden, Hugo, Óscar Otero, Valtteri Laitinen, Christopher Kirk-Nielsen and 82 more
Reacted by phantomxx29474, Andrew Hudson, Nilesh Prajapati, Felix Icaza, Gabriel Zanzotti, Cristina Díaz, Temani Afif and Willy
Reacted by phantomxx29474, Andrew Hudson, Nilesh Prajapati, Felix Icaza, Gabriel Zanzotti, Cristina Díaz, Lea Verou, Vasanth and Temani Afif
Reacted by Felix Icaza, phantomxx29474, Gabriel Zanzotti, Cristina Díaz and Temani Afif
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include web-features: <feature-id>.
To find feature IDs, use the web-features explorer.
Description: The @function CSS at-rule defines a custom function that takes CSS values or custom properties as arguments, and returns a CSS value. It can be based on conditional logic such as by using the @media at-rule.
Activity
github-actions commentedon Sep 4, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
Feature @function
@functionCSS at-rule defines a custom function that takes CSS values or custom properties as arguments, and returns a CSS value. It can be based on conditional logic such as by using the@mediaat-rule.@functionCSS at-rulephantomxx29474 commentedon Nov 8, 2026
Greetings, Safari is gonna join us with Chrome.
https://developer.apple.com/documentation/safari-release-notes/safari-27_3-release-notes