Home > Web Front-end > CSS Tutorial > How to use css punctuation-trim attribute

How to use css punctuation-trim attribute

藏色散人
Release: 2019-05-30 10:50:46
Original
3007 people have browsed it

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 css punctuation-trim attribute

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
Copy after login

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;
}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template