๐Ÿ”ฐfunctions

CSS โŸฉ values โŸฉ 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

Was this helpful?