The CSS property specifies whether a punctuation mark should be stopped at the beginning or end of a line of text. hanging-punctuation
The suspended score can be placed outside the line box.
/* Keyword values */
hanging-punctuation: none;
hanging-punctuation: first;
hanging-punctuation: last;
hanging-punctuation: force-end;
hanging-punctuation: allow-end;
/* Two keywords */
hanging-punctuation: first force-end;
hanging-punctuation: first allow-end;
hanging-punctuation: first last;
hanging-punctuation: last force-end;
hanging-punctuation: last allow-end;
/* Three keywords */
hanging-punctuation: first force-end last;
hanging-punctuation: first allow-end last;
/* Global values */
hanging-punctuation: inherit;
hanging-punctuation: initial;
hanging-punctuation: unset;
Syntax
The hanging-punctuation
property can be specified with one, two, or three values.
The syntax of a value uses any of the keyword values in the list below.
The two-valued syntax uses one of the following:
firstem set with any of last, allow-endouforce-end
together with any of first, allow-endouforce-end
The three-valued syntax uses one of the following:
first, allow-endelast
first, force-endelast
Example: CodePen
Compatibility
SearchSource: MDB Web Docs
Enter search source for more information.