Loading...

font-size

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.

CSS class prefixes and related properties

Class name prefixCSS properties
fon-siz-*font-size

CSS class suffixes and property values

Class name suffixCSS properties value
*-3xs10px
*-2xs11px
*-xs12px
*-sm14px
*-md16px
*-lg18px
*-xl22px
*-2xl24px
*-3xl28px
*-4xl32px
*-5xl36px
*-6xl45px
*-7xl57px
*-8xl69px
*-9xl80px
*-smallersmaller
*-largerlarger
*-xx-smallxx-small
*-x-smallx-small
*-smallsmall

fon-siz: font-size

.fon-siz-3xs.fon-siz-3xs-hover.fon-siz-2xs.fon-siz-2xs-hover.fon-siz-xs.fon-siz-xs-hover.fon-siz-sm.fon-siz-sm-hover.fon-siz-md.fon-siz-md-hover.fon-siz-lg.fon-siz-lg-hover.fon-siz-xl.fon-siz-xl-hover.fon-siz-2xl.fon-siz-2xl-hover.fon-siz-3xl.fon-siz-3xl-hover.fon-siz-4xl.fon-siz-4xl-hover
.fon-siz-3xs {
  font-size: 10px;
}
© Cssville 2026
Hosted by Vercel.Protected by Cloudback.