css punctuation-trim attribute specifies whether punctuation is trimmed if the punctuation is at the beginning or end of the line, or adjacent to another full-width punctuation mark.
How to use the css punctuation-trim attribute?
Function: The punctuation-trim attribute specifies whether to trim punctuation if the punctuation is at the beginning or end of the line, or adjacent to another full-width punctuation mark.
Syntax:
punctuation-trim: none|start|end|allow-end|adjacent
Description:
none Does not trim opening or closing punctuation.
start Trim open punctuation at the end of each line.
end Trim closing punctuation at the end of each line.
allow-end
adjacent
Note:
Currently mainstream browsers do not support the punctuation-trim attribute.
css punctuation-trim attribute usage example
p{ punctuation-trim:start; }
The above is the detailed content of How to use css punctuation-trim attribute. For more information, please follow other related articles on the PHP Chinese website!