How to use the punctuation-trim attribute in css
This article mainly introduces how to use the punctuation-trim attribute in css, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
How do I use the csspunctuation-trim attribute?
What it does: the punctuation-trim attribute specifies whether punctuation is trimmed if the punctuation is at the beginning or end of a line, or near another full-width punctuation mark.
Syntax:
Punctuation-trim:none | start | end | allow-end | adjacent
Description:
None does not trim open or close punctuation.
Start trims the open punctuation at the end of each line.
End trims the closed punctuation at the end of each line.
Allow-end
Adjacent
Note:
Currently, mainstream browsers do not support the punctuation-trim attribute.
Example of using csspunctuation-trim property
P {
Punctuation-trim:start
}
Thank you for reading this article carefully. I hope the article "how to use punctuation-trim attributes in css" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!