The text-emphasis-color property specifies the foreground color of the emphasis marks.

  • Initial valuecurrentColor
  • Applies toAll elements
  • InheritedYes
  • MediaVisual
  • Computed valueAs specified
  • AnimatableYes
  • CSS VersionCSS3
  • JavaScript syntaxobject.style.textEmphasisColor
Formal syntax: <color>

text-emphasis-color: blue;
text-emphasis-color: #336655;
text-emphasis-color: rgba(128, 128, 128, 0);
  • <color>Specify the foreground color of the emphasis marks.
.class {
  text-emphasis-color: #3366FF;
}
?Firefox?Explorer?Chrome?Safari?Opera


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.