Get the App
SLTechnology News&Howtos  ›  Development  › 

How the word-spacing attribute in css changes the standard interval between words

Shulou Source: shulou.com Published: 2022-06-01 10:30:59 09月29日 Update

This article mainly shows you the "css word-spacing attribute how to change the standard interval between words", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "css word-spacing attribute how to change the standard interval between words" this article.

The word-spacing attribute roughly tampers with the scale isolation distance between words. Its default value, normal, is the same as setting the rig setting to 0.

The word-spacing property suffers a positive or negative length value. If you supply a positive length value, the spacing between words will increase. Configuring a negative value for word-spacing will pull it closer:

P.spread {word-spacing: 30px;} p.tight {word-spacing:-0.5em;} This is a paragraph. The spaces between words will be increased.

This is a paragraph. The spaces between words will be decreased.

The above is all the content of the article "how the word-spacing attribute in css changes the standard interval between words". 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: Between attributes standards content articles length learning help words standards equipment easy to understand more organization outline knowledge tape if yes industry negative value Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Apple MariaDB Shulou Information Xiaomi