What this Bootstrap Utility API class does
Set the CSS font-style property of an element. The CSS font-style property is used to set the style of the font of text within an element. It specifies whether the text should be displayed in a normal or italic style.
The font-style property can take one of three values: normal, italic, or oblique. The normal value is the default and specifies that the text should be displayed in a normal style. The italic value specifies that the text should be displayed in an italic style, which is a slanted version of the regular font. The oblique value is similar to italic, but it is not a separate font style, and it simply slants the regular font.
Example usage & available classes
<p class="fst-italic">Italic text.</p>
<p class="fst-normal">Text with normal font style</p>
Example override
In the example override below, we are adding the additional class of "fst-oblique" with a value of "oblique".
"font-style": map-merge(
map-get($utilities, "font-style"),
(
values: append(
map-get(map-get($utilities, "font-style"), "values"), oblique
)
)
)