Last updated on : 2022-04-10
The text-emphasis shorthand sets some emphasis marks on the glyphs denoted by the given string. Common emphasis marks are the asterisk, daggers, and double dashes. They are used in East Asian typography to emphasize pieces of text.
Inherited
no
Applies to
all elements
Initial value
text-emphasis-style: none text-emphasis-color: currentcolor
Animation type
text-emphasis-color: a color text-emphasis-style: discrete
Computed value
text-emphasis-style: as specified text-emphasis-color: computed color
CSS Text Decoration Module Level 3 # text-emphasis-property
/* Initial value */
text-emphasis: none;
/* No emphasis marks */
/* <string> value */
text-emphasis: 'x';
text-emphasis: '点';
text-emphasis: '\25B2';
text-emphasis: '*' #555;
text-emphasis: 'foo';
/* Should NOT use. It may be computed to or rendered as 'f' only */
/* Keywords value */
text-emphasis: filled;
text-emphasis: open;
text-emphasis: filled sesame;
text-emphasis: open sesame;
/* Keywords value combined with a color */
text-emphasis: filled sesame #555;
/* Global values */
text-emphasis: inherit;
text-emphasis: initial;
text-emphasis: revert;
text-emphasis: unset;
Browser Support For Android Browser Versions
Browser Support For Chrome for Android Versions
Browser Support For Firefox for Android Versions
Test your website on 3000+ real browsers and operating systems for mobile and desktop with the LambdaTest cloud. Perform browser compatibility test for text-emphasis styling and many more web technologies that are a part of your website or web-application.
Last Modified date
2022-04-10
Data sourced from
Test this and other features on your website for compatibility across
3,000 real browsers and devices using
I hope we're able to help you build browser compatible web experience.
Fast track your browser testing experience on 3000+ browsers and OS combinations with LambdaTest.
Sarah Elson (Product & Growth Lead)