The text-emphasis property is a shorthand for setting text-emphasis-style and text-emphasis-color in one declaration. Omitted values are set to their initial values.

  • Initial valueSee individual properties
  • Applies toAll elements
  • InheritedYes
  • MediaVisual
  • Computed valueSee individual properties
  • AnimatableSee individual properties
  • CSS VersionCSS3
  • JavaScript
Formal syntax: <text-emphasis-style> || <text-emphasis-color>

text-emphasis: open triangle #3366FF;
.class {
   text-emphasis: open triangle #3366FF; 

Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.