CSS ruby layout

The CSS ruby layout module provides the rendering model and formatting controls related to the display of ruby annotations. Ruby annotations are a form of interlinear annotation, consisting of short runs of text alongside the base text. They are typically used in East Asian documents to indicate pronunciation or define meaning.

Reference

Properties

Note: The CSS ruby layout module introduces two properties, ruby-merge and ruby-overhang, that have not yet been implemented in any browser.

Display values

The CSS ruby layout module adds the following values to the display property:

  • ruby
  • ruby-base
  • ruby-text
  • ruby-base-container
  • ruby-text-container

Glossary and keywords

Specifications

See also

© 2005–2024 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_ruby_layout