🔰functions

CSSvalues ⟩ functions

width: calc(10px * pow(5, 2));     /* 10px * 5² = 250px */

function

note

var( )

reference to a css variable.

calc( )

supports (+, -, *, /), "+" and "-" must be surrounded by whitespace.

clamp(min, pref, max)

arguments: the minimum size, the preferred size, and the maximum size.

Last updated