CSS font-variant-east-asian Property
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: |
|
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:
|
east-asian-width-values | These values control the sizing of figures used for East Asian characters.
Possible values are:
|
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;
}