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 | |||||
X | 99 | 99 | 46 | 15 | 7 |
Tablets / Mobile | |||||
![]() |
|||||
4.4 | 99 | 46 | 14 | 7 | 1.5 |
Last updated by CSSPortal on: