Skip to content
HTML.ONE
Home CSS Properties

CSS Font-size

Sets the size of text. Relative units help respect user preferences.

Example

font-size: 1.25rem;

Further reference

MDN CSS reference

Live preview