Text

List of Custom Text Utility Classes included with Canvas.

Classes

Class Description
.nott

Sets text-transform CSS property to none

.ls0

Sets letter-spacing CSS property to 0px

.ls1

Sets letter-spacing CSS property to 1px

.ls2

Sets letter-spacing CSS property to 2px

.ls3

Sets letter-spacing CSS property to 3px

.ls4

Sets letter-spacing CSS property to 4px

.ls5

Sets letter-spacing CSS property to 5px

.font-body

Sets the current Body Font defined in css/fonts.css File

.font-primary

Sets the current Primary Font defined in css/fonts.css File

.font-secondary

Sets the current Secondary Font defined in css/fonts.css File

.fw-extralight

Sets the font-weight CSS property to 100

.fw-medium

Sets the font-weight CSS property to 500

.fw-semibold

Sets the font-weight CSS property to 600

.fw-normal

Sets the font-weight CSS property to normal

More Font Weight Classes

More Font Weight Utility Classes can be found here: https://getbootstrap.com/docs/5.1/utilities/text/#font-weight-and-italics .

.text-smaller

Sets the font-size CSS property to 80% of the parent

.text-larger

Sets the font-size CSS property to 120% of the parent

Last Modified: November 19, 2021