Easy Tutorial
❮ Pr Border Bottom Pr Font Font Variant ❯

CSS3 punctuation-trim Property

Example

Place opening punctuation at the beginning of each line in the p element:


Browser Support

No major browsers support the punctuation-trim property.


Property Definition and Usage

The punctuation-trim property specifies whether punctuation characters at the beginning or end of a line, or adjacent to another full-width punctuation character, should be modified.

Default value: none
Inherited: yes
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.punctuationTrim="start"
--- ---

Syntax

Value Description
none Do not trim opening or closing punctuation
start Place opening punctuation at the beginning of each line
end Trim closing punctuation at the end of each line
allow-end Trim closing punctuation at the end of each line if it does not fit otherwise
adjacent Trim opening punctuation if the preceding adjacent character is a full-width opening, middle, or closing punctuation, or ideographic space. Trim closing punctuation if the next adjacent character is a full-width closing or middle punctuation, or ideographic space
❮ Pr Border Bottom Pr Font Font Variant ❯