clamp()

Term side of the Card
Topic: Mathematics
Unit title: clamp()
Categories: Function
Explanation side of the Card

Explanation: The math function that clamps a value between a defined minimum, preferred and maximum value. It's useful for setting responsive sizes, like font sizes or widths, that adapt within a range based on the available space.

Browser compatibility:
  • The chrome browser supports this feature starting from version 79
  • The edge browser supports this feature starting from version 79
  • The firefox browser supports this feature starting from version 75
  • The safari browser supports this feature starting from version 13.1
Availability: