CSS3 punctuation-trim property
Examples
In the p element is placed at the beginning of each line at the beginning of punctuation:
p
{
punctuation-trim:start;
}
{
punctuation-trim:start;
}
Browser Support
Any major browsers do not support punctuation-trim property.
Attribute definitions and instructions
punctuation-trim attribute specifies whether the modification, when it appears in another line, or adjacent to the beginning or end punctuation character-width punctuation characters.
Defaults: | none |
---|---|
inherit: | yes |
version: | CSS3 |
JavaScript syntax: | object .style.punctuationTrim = "start" |
grammar
punctuation-trim: none|start|end|allow-end|adjacent;
value | Explanation |
---|---|
none | Do not open or close punctuation trim |
start | Placed at the beginning of punctuation at the beginning of each line |
end | At the end of each line ending punctuation trim |
allow-end | If otherwise not suitable grounds before the end trim punctuation at the end of each line. |
adjacent | If the previous adjacent character trim opening punctuation is a full-shaped opening, middle or end punctuation, or ideographic space. Trim end punctuation, if the next character is adjacent to a closed or intermediate-width punctuation, or ideographic space |