Namespace: Content:content-width-value

Content:content-width-value

Methods

content-width-value($min-maxopt, $defaultopt, nullable) → {Number|null}

Returns the defined min/max content width.

Parameters:
Name Type Attributes Default Description
$min-max String <optional>
'max'

either "min" or "max", defines if min or max content-width is returned

$default Number <optional>
<nullable>
null

the default value to return if the width definition cannot be found

Source:
Returns:
the determined content width value, may be null if width is not defined (depending on default value)
Type
Number | null
Example
max-width content-width-value()
min-width content-width-value('min', 0)