hanging-punctuation

This property controls whether a punctuation mark appears at the beginning or end of a line of text. Hanging punctuations can be placced outside of the element's box.

Example

Initial value none
Applies to all elements in the page

Syntax

  
hanging-punctuation: first;
  

Values

No character hangs.
An opening bracket or quote at the start of the first formatted line of an element hangs.
A closing bracket or quote at the end of the last formatted line of an element hangs.
A stop or comma at the end of a line hangs.
A stop or comma at the end of a line hangs if it does not otherwise fit prior to justification.

Browser support

hanging-punctuation 1 1 3.5 1 12 3

We use cookies to improve your experience. Learn more in our Privacy policy.

×