.add-paragraph()
Create a new paragraph sized within the font scale.
.add-paragraph(
@name,
@exponent: 0,
@base: @typography[base-font-size],
@ratio: @typography[base-type-ratio]
);
Parameters
Name | Type | Default |
---|---|---|
@name |
String | |
@exponent |
Number | 0 |
@base |
Length | @typography[base-font-size] |
@ratio |
Number | @typography[base-type-ratio] |
How to use
.add-paragraph(big, 3);
Will output
.big {
font-size: 2.52255158rem;
}