Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the use of the punctuation-trim attribute in css

Shulou Source: shulou.com Published: 2022-06-01 12:14:06 10月03日 Update

This article mainly shows you the "what is the use of punctuation-trim attributes in css", the content is simple and clear, and I hope it can help you solve your doubts, so let me lead you to study and learn "what is the use of punctuation-trim attributes in css" this article.

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

}

The above is all the content of the article "what is the use of punctuation-trim attributes in css". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Attributes punctuation punctuation symbols trimming content articles learning help closure mainstream function beginning easy to understand more organization comments browsers knowledge examples Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Linux Redmi Shulou Technology Shulou Tech Info