HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

font-variant-position

Description

The font-variant-position property for CSS is used to enable typographic subscript and superscript glyphs.

Syntax

CSS

font-variant-position: value;

JS

object.style.fontVariantPosition = "value";

Values

<'font-variant-position'> = normal | sub | super
normal

None of the features are enabled.

sub

Enables display of subscript variants.

super

Enables display of superscript variants.

Initial

normal

Examples

1 · normal

2 · sub

3 · super

4 · JS