πͺFont Weight
.weight-{value}
.weight-{value}Sets the font weight of the text.
CSS equivalent: font-weight: {value};
Example usage:
<span class="weight-bold">This text has a bold font weight.</span>.bold
.boldSets the font weight to bold.
CSS equivalent: font-weight: bold;
Example usage:
<span class="bold">This text has a bold font weight.</span>.bolder
.bolderSets the font weight to bolder.
CSS equivalent: font-weight: bolder;
Example usage:
.light
.lightSets the font weight to light.
CSS equivalent: font-weight: light;
Example usage:
.lighter
.lighterSets the font weight to lighter.
CSS equivalent: font-weight: lighter;
Example usage:
Last updated