Font size
Utilities for controlling the font size of an element
Class reference
Usage
Control the font size of an element using the .text-{size}
utilities.
Responsive
To control the font size of an element at a specific breakpoint, add a {screen}:
prefix to any existing font size utility. For example, use md:text-lg
to apply the text-lg
utility at only medium screen sizes and above.
<p class="text-base **md:text-lg** ...">The quick brown fox jumped over the lazy dog.</p>
For more information about Elements’ responsive design features, check out the Responsive Design documentation.
On this Page
v1.13.5