Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
Last updated on : 2023-03-20
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;
001.css
Source:001.css
special_characters.html
Source:special_characters.html
004.text-emphasis.html
Source:004.text-emphasis.html
Browser Support For Android Browser Versions
Browser Support For Opera Mobile Versions
Browser Support For Chrome for Android Versions
Browser Support For Firefox for Android Versions
Browser Support For Samsung Internet Versions
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeTest 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
2023-03-20
Data sourced from
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeHarness the power of Chromium-based engine to deliver responsive websites and web apps.
Try for freeGet 100 minutes of automation test minutes FREE!!