Namespace: Content:content-padding-value

Content:content-padding-value

Methods

content-padding-value($breakpointopt) → {Number}

Returns the defined content padding for a/the current breakpoint.

Parameters:
Name Type Attributes Default Description
$breakpoint String <optional>
'auto'

a defined breakpoint name or "auto", to use the current breakpoint at the point of usage

Source:
Throws:

error if no content padding value could be determined, based on given breakpoint

Returns:
the determined content padding value
Type
Number
Example
breakpoint(medium)
  padding-left content-padding-value()
margin-right content-padding-value($breakpoint:'small')