CSS text-emphasis-color Property

Description

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

Initial value
currentColor
Applies to
All elements
Inherited
Yes
Media
Visual
Computed value
As specified
Animatable
Yes
CSS Version
CSS3
JavaScript syntax
object.style.textEmphasisColor

Syntax

text-emphasis-color: <color>

Values

  • <color>Specify the foreground color of the emphasis marks.

Example

.class {
  text-emphasis-color: #3366FF;
}

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
X999946157
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
4.499461471.5

Last updated by CSSPortal on: