CSS Mark Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

The 'mark' property is a shorthand for setting 'mark-before' and 'mark-after'. If two values are given the first value is 'mark-before' and the second is 'mark-after'. If only one value is given, it applies to both properties.

Syntax

mark: [value1] [value2];

Possible values

  • [mark-before]
  • [mark-after]

Initial Value

not defined for shorthand properties

Applies To

All elements

Inherited

No

Media

Speech

Example

.class {
  mark: "start" "end" ;
}


View All CSS Properties