CSS Text-Emphasis Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
This property applies emphasis formatting applied to text. Unlike 'text-decoration', emphasis marks can affect the line height.
Syntax
text-emphasis: [value]
Possible values
- none
- accent
- dot
- circle
- disk
- [before]
- [after]
Initial Value
none
Applies To
All elements and generated content
Inherited
Yes
Media
Visual
Example
.class {
text-emphasis: accent after;
}
Loading Twitter