Introduction
CSS Classes
React Components
Cssville has 24 utility classes for font-size. Add one to an element's class attribute to set the property, for example fon-siz-lg. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-fon-siz-lg. Add -hover to the end to apply a class only on hover, as in fon-siz-lg-hover. Getting started explains how class names are built.
| Class name prefix | CSS properties |
|---|---|
| fon-siz-* | font-size |
| Class name suffix | CSS properties value |
|---|---|
| *-3xs | 10px |
| *-2xs | 11px |
| *-xs | 12px |
| *-sm | 14px |
| *-md | 16px |
| *-lg | 18px |
| *-xl | 22px |
| *-2xl | 24px |
| *-3xl | 28px |
| *-4xl | 32px |
| *-5xl | 36px |
| *-6xl | 45px |
| *-7xl | 57px |
| *-8xl | 69px |
| *-9xl | 80px |
| *-smaller | smaller |
| *-larger | larger |
| *-xx-small | xx-small |
| *-x-small | x-small |
| *-small | small |
.fon-siz-3xs {
font-size: 10px;
}