CSS Ruby-Position Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

This property is used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.

Syntax

ruby-position: [value];

Possible values

  • before
  • after
  • right

Initial Value

before

Applies To

The parent of elements with display: ruby-text.

Inherited

Yes

Media

Visual

Example

.class {
  ruby-position: after ;
}


View All CSS Properties