Skip to content

Commit

Permalink
OpenType guide: font-variant-position is not mutually exclusive with …
Browse files Browse the repository at this point in the history
…<sup>/<sub> (mdn#18459)

Thank you!
  • Loading branch information
js-choi authored Jul 19, 2022
1 parent 11f463c commit 294e54f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ While more common in script typefaces, in the below example they are used to cre

Associated CSS property: {{cssxref("font-variant-position")}}

Position variants are used to enable typographic superscript and subscript glyphs. These are designed to work with the surrounding text without altering the baseline or line spacing. This is one of the key benefits over using the {{htmlelement("sub")}} or {{htmlelement("sup")}} elements.
Position variants are used to enable typographic superscript and subscript glyphs. These are designed to work with the surrounding text without altering the baseline or line spacing. This is especially useful with the {{htmlelement("sub")}} or {{htmlelement("sup")}} elements.

{{EmbedGHLiveSample("css-examples/font-features/font-variant-position.html", '100%', 550)}}

Expand Down

0 comments on commit 294e54f

Please sign in to comment.