text-emphasis-style

Defines the shape or appearance of emphasis marks. You can use standard shapes like circles and triangles, or even provide a custom character string.

It is documented as part of the CSS Text Decoration specification.

/* Usage Example */
cite {
  /* Adds small triangles above the letters for emphasis */
  text-emphasis-style: triangle;
}

/* Syntax */
text-emphasis-style: none;
text-emphasis-style: filled;
text-emphasis-style: open;
text-emphasis-style: dot;
text-emphasis-style: circle;
text-emphasis-style: double-circle;
text-emphasis-style: triangle;
text-emphasis-style: sesame;

/* Global values */
text-emphasis-style: inherit;
text-emphasis-style: initial;
text-emphasis-style: revert;
text-emphasis-style: revert-layer;
text-emphasis-style: unset;
Widely available Since 2022 95% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2022.

99+
46+
7+
99+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC