Open this example in the interactive library
Source code
<p class="demo [&_sup]:align-super [&_sup]:text-[.65em] [&_sup]:leading-none">
Area is measured in m<sup>2</sup>.
</p>
Keep a super-script from changing line height with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<p class="demo [&_sup]:align-super [&_sup]:text-[.65em] [&_sup]:leading-none">
Area is measured in m<sup>2</sup>.
</p>