CSS3 punctuation-trim property


Place the beginning punctuation mark at the beginning of each line of the p element:

p
{
punctuation-trim:start;
}

Browser support

CSS3 punctuation-trim property CSS3 punctuation-trim property CSS3 punctuation-trim property CSS3 punctuation-trim property CSS3 punctuation-trim property

T No mainstream browser supports the punctuation-trim property.


Description of property definition and use

The punctuation-trim property specifies whether the punctuation-trim property should be decorated when it appears on a line, or adjacent to another full-shaped punctuation character at the beginning or end of the punctuation character.

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


Grammar

punctuation-trim: none|start|end|allow-end|adjacent;

Value Description
none Do not trim the on or off punctuation mark
start Place the beginning punctuation at the beginning of each line
end Trim the end punctuation mark at the end of each line
allow-end If there is another reason that does not fit before, trim the end punctuation at the end of each line.
adjacent If the previous adjacent character trims the opening public is a full-shaped opening, a punctuation mark in the middle or at the end, or a phenomenal space. Trim the end punctuation mark if the next adjacent character is a full-shaped off or intermediate punctuation, or phenomenal space