Easy Tutorial
❮ Css3 Pr Column Rule Func Minmax ❯

CSS3 text-emphasis Property

CSS Reference Manual

Example

Adjusting the spacing between words to align each line:

p
{
    text-emphasis: filled red;
    -webkit-text-emphasis: filled red;
}

Browser Support


Definition and Usage

The text-emphasis property is a shorthand property used to set both text-emphasis-style and text-emphasis-color in a single declaration.

Default value: none
Inherited: yes
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.textEmphasis="filled blue"
--- ---

Syntax

text-emphasis: text-emphasis-style text-emphasis-color;
Value Description
text-emphasis-style Applies emphasis marks to the text of the element.
text-emphasis-color Defines the foreground color of the emphasis marks.

CSS Reference Manual

❮ Css3 Pr Column Rule Func Minmax ❯