Replies: 2 comments
-
In the context of block-level typographic control, leveraging font-variant-position utilities is feasible. https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric
However, the specific typeface in use might trigger substitutions of alternate glyphs when these utilities are applied. For scenarios requiring more advanced typographic features, integrating Tailwind utility classes would be effective. I found this to be helpful; |
Beta Was this translation helpful? Give feedback.
-
You can try using <p>
Some text that I would like to<sub>sub</sub> or some<sup>sup</sup> to <br/>
Create stuff like:<br/>
m<sup>2</sup> or even nested k<sup>(n+1)<sup>2</sup></sup>
</p> |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
sometimes I need to write units like m2.
I would like if Tailwind added support for superscript and subscript.
https://helpx.adobe.com/fonts/using/open-type-syntax.html#sups
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions