<type>

Experimental

A generic keyword used in newer CSS specs (like Mixins and Functions) to denote a specific data type requirement for a variable or argument.

Quick example

/* (Hypothetical usage in custom functions) */
@function --my-color(--clr <color>) {
  /* Requires an argument that matches the <color> type */
}

<type> Browser Support

Limited availability 67% global usage

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Not ready for production without a fallback.

139+
139+
ESC