text-emphasis-position

The text-emphasis-position CSS property sets where emphasis marks are drawn. Like ruby text, if there isn't enough room for emphasis marks, the line height is increased.

Initial value over right
Applies to all elements

Syntax

  
text-emphasis-position: under right;
  

Values

Draw marks over the text in horizontal writing mode.
Draw marks under the text in horizontal writing mode.
Draws marks to the right of the text in vertical writing mode.
Draw marks to the left of the text in vertical writing mode.

Browser support

text-emphasis-positionchrome25edge79firefox46ieopera15safari6.1
left_and_rightchrome62edge79firefox46ieopera49safari8

We use cookies to improve your experience. Learn more in our Privacy policy.

×