Introduction
CSS Classes
React Components
Cssville has 17 utility classes for font-weight. Add one to an element's class attribute to set the property, for example fon-wei-bold. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-fon-wei-bold. Add -hover to the end to apply a class only on hover, as in fon-wei-bold-hover. Getting started explains how class names are built.
| Class name prefix | CSS properties |
|---|---|
| fon-wei-* | font-weight |
| Class name suffix | CSS properties value |
|---|---|
| *-normal | normal |
| *-bold | bold |
| *-lighter | lighter |
| *-bolder | bolder |
| *-100 | 100 |
| *-200 | 200 |
| *-300 | 300 |
| *-400 | 400 |
| *-500 | 500 |
| *-600 | 600 |
| *-700 | 700 |
| *-800 | 800 |
| *-900 | 900 |
| *-inherit | inherit |
| *-initial | initial |
| *-revert | revert |
| *-unset | unset |
.fon-wei-normal {
font-weight: normal;
}