The text-emphasis CSS property applies emphasis marks to text (except spaces and control characters). It is a shorthand for text-emphasis-style and text-emphasis-color.
|Initial value||as each of the properties of the shorthand:text-emphasis-style: nonetext-emphasis-color: currentcolor|
|Applies to||all elements|
text-emphasis: filled double-circle;
No emphasis marks.
The shape is filled with solid color. If neither filled nor open is present, this is the default.
The shape is hollow.
Display small circles as marks. The filled dot is '•' (U+2022), and the open dot is '◦' (U+25E6).
Display large circles as marks. The filled circle is '●' (U+25CF), and the open circle is '○' (U+25CB). This is the default shape in horizontal writing modes when no other shape is given.
Display double circles as marks. The filled double-circle is '◉' (U+25C9), and the open double-circle is '◎' (U+25CE).
Display triangles as marks. The filled triangle is '▲' (U+25B2), and the open triangle is '△' (U+25B3).
Display sesames as marks. The filled sesame is '﹅' (U+FE45), and the open sesame is '﹆' (U+FE46). This is the default shape in vertical writing modes when no other shape is given.
Display the given string as marks. Authors should not specify more than one character in
. The UA may truncate or ignore strings consisting of more than one grapheme cluster.
Defines the color of the mark. If no color is present, it defaults to currentcolor.