Namespace: Breakpoints:overwrite-breakpoint-for-attribute

Breakpoints:overwrite-breakpoint-for-attribute

Methods

overwrite-breakpoint-for-attribute($attribute, $value, $factoropt)

Use this, if you need to overwrite an attribut value previously defined in (a) breakpoint(s).

A use case might be, for example, to set a font-size to a static value in an element with a responsive, breakpoint-based font-size definition.

Parameters:
Name Type Attributes Default Description
$attribute String

the name of the attribute you want to set

$value *

the value to set the attribute to

$factor Number <optional>
null

if a float factor is provided the value will be multiplied with this factor

Source:
See:
Example
@include overwrite-breakpoint-for-attribute(font-size, 12px, 2.0);