CSS Hanging-Punctuation Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

This property determines whether a punctuation mark, if one is present, may be placed outside the line box at the start or at the end of a full line of text.

Syntax

hanging-punctuation: [value];

Possible values

  • none
  • start
  • end
  • end-edge

Initial Value

none

Applies To

Block-level, inline-block elements and table cells

Inherited

Yes

Media

Visual

Example

.class {
  hanging-punctuation: end  ;
}


View All CSS Properties