max

max($numbers...)

Finds the maximum of several numbers. This function takes any number of arguments.

Examples:

max(1px, 4px) => 4px
max(5em, 3em, 4em) => 5em

Parameters:

  • $numbers ([Number])

Returns:

  • (Number)

Raises:

  • (ArgumentError) if any argument isn’t a number, or if not all of the arguments have comparable units
doc_Sass
2016-11-11 13:09:15
Comments
Leave a Comment

Please login to continue.