O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ruby-span

Values:

attr(x) | none

Initial value:

none

Applies to:

Elements with a display value of ruby-text

Inherited:

No

Computed value:

A number

Description:

Defines the number of ruby base text elements that can be spanned by the ruby text. The attribute value must be a number and is evaluated as such. The values 0 and none are both equivalent to 1, which indicates no spanning.

Examples:

rubytext {ruby-span: attr(span);}

Note:

A “ruby” is a short run of text that goes alongside base text, which is common in written East Asian languages. As of early 2011, this property was supported only by Internet Explorer.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required