CSS Ruby-Align Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

This property can be used on any element to control the text alignment of the ruby text and ruby base contents relative to each other.

Syntax

ruby-align: [value];

Possible values

  • auto
  • start
  • left
  • center
  • end
  • right
  • distribute-letter
  • distribute-space
  • line-edge

Initial Value

Auto

Applies To

All elements and generated content

Inherited

Yes

Media

Visual

Example

.class {
  ruby-align: right ;
}


View All CSS Properties