CSS ruby layout
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
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
- {{cssxref("ruby-align")}}
- {{cssxref("ruby-position")}}
The CSS ruby layout module also introduces the ruby-merge and ruby-overhang properties. Currently, no browsers support these features.
Display values
The CSS ruby layout module adds the following values to the {{cssxref("display")}} property:
rubyruby-baseruby-textruby-base-containerruby-text-container
Glossary terms
- {{Glossary("Ruby")}}
Related concepts
- CSS display module
- {{cssxref("display")}}
- {{CSSxRef("<display-internal>")}}
- CSS text decoration module
- {{cssxref("text-emphasis-color")}}
- {{cssxref("text-emphasis-position")}}
- {{cssxref("text-emphasis-style")}}
- {{cssxref("text-emphasis")}} shorthand
- HTML elements
- {{HTMLElement("rb")}}
- {{HTMLElement("rp")}}
- {{HTMLElement("rt")}}
- {{HTMLElement("rtc")}}
- {{HTMLElement("ruby")}}
Specifications
{{Specifications}}
See also
- {{cssxref("direction")}}
- {{cssxref("unicode-bidi")}}
- {{cssxref("font-variant-east-asian")}}
- {{cssxref(":lang()")}}
- HTML [
lang](/en-US/docs/Web/HTML/Reference/Global_attributes/lang) attribute