CSS font-variant-east-asian Property

❮ Previous Reference Next ❯

Example

p {
  font-variant-east-asian: traditional;
}





안녕하세요 세계!


Meaning:

The font-variant-east-asian CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese.

Default value:normal
Inherited:Yes
Animatable:No
Version:CSS3
JavaScript syntax:
object.style.fontVariantEastAsian="normal|ruby|east-asian-variant-values|east-asian-width-values|initial|inherit|revert|revert-layer|unset";



Standard Syntax

font-variant-east-asian: normal|ruby|east-asian-variant-values|east-asian-width-values|initial|inherit|revert|revert-layer|unset;



Browser Support




Status







Property Values

The following table describes the values of this property:

Value Description
normal This keyword leads to the deactivation of the use of such alternate glyphs.
ruby This keyword forces the use of special glyphs for ruby characters. As these are usually smaller, font creators often designs specific forms, usually slightly bolder to improve the contrast. This keyword corresponds to the OpenType values ruby.
east-asian-variant-values These values specify a set of logographic glyph variants which should be used for display.

Possible values are:

  • jis78
  • jis83
  • jis90
  • jis04
  • simplified
  • traditional
east-asian-width-values These values control the sizing of figures used for East Asian characters.

Possible values are:

  • proportional-width - activating the set of East Asian characters which vary in width. It corresponds to the OpenType values pwid.
  • full-width - activating the set of East Asian characters which are all of the same, roughly square, width metric. It corresponds to the OpenType values fwid.
initial Sets this property to its default value.
inherit If specified, the associated element takes the computed value of its parent element animation-delay property.
revert Reverts the cascaded value of the property from its current value to the value the property
revert-layer Rollback styles to the ones specified in previous cascade layers.
unset Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.



Default CSS Property Values

selectors {
  font-variant-east-asian: normal;
}
❮ Previous Reference Next ❯