CSS RUBY-POSITION

  • Share
  • Share

This property specifies the position of the helper Ruby Text (RT) relative to the Ruby content.

 

Example

ruby { ruby-align: right; ruby-position: above; ruby-overhang: whitespace } 

<ruby style=”ruby-align: right; ruby-position: above; ruby-overhang: whitespace”>Ruby base content<rt>Ruby text</rt></ruby>

 

Possible Values

Value Description
above The Ruby Text (RT) content is located above the RUBY content.
inline The Ruby Text (RT) content is located in-line with the RUBY content.