CSS Functions

  • Modern CSS (2020)

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