CSS ruby-align Property
Example
ruby {
ruby-align: start;
}
Meaning:
The ruby-align CSS property defines the distribution of the different ruby elements over the base.
Default value: | space-around |
Inherited: | Yes |
Animatable: | No |
Version: | CSS3 |
JavaScript syntax: |
|
Standard Syntax
ruby-align: start|center|space-between|space-around|initial|inherit|revert|revert-layer|unset;
Browser Support
Status
Property Values
The following table describes the values of this property:
Value | Description |
---|---|
start | Is a keyword indicating that the ruby will be aligned with the start of the base text. |
center | Is a keyword indicating that the ruby will be aligned at the middle of the base text. |
space-between | Is a keyword indicating that the extra space will be distributed between the elements of the ruby. |
space-around | Is a keyword indicating that the extra space will be distributed between the elements of the ruby, and around it. |
initial | Sets this property to its default value. |
inherit | If specified, the associated element takes the computed value of its parent element animation-delay property. |
revert | Reverts the cascaded value of the property from its current value to the value the property |
revert-layer | Rollback styles to the ones specified in previous cascade layers. |
unset | Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. |
Default CSS Property Values
selectors {
ruby-align: space-around;
}