<type>
A generic keyword used in newer CSS specs (like Mixins and Functions) to denote a specific data type requirement for a variable or argument.
This is an experimental technology. The syntax and behavior are still subject to change.
Syntax
/* Usage Example */
/* (Hypothetical usage in custom functions) */
@function --my-color(--clr <color>) {
/* Requires an argument that matches the <color> type */
}
<type> Browser support
Limited availability
Since
2020 67% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
139+
139+