word-spacing controls the gap between words (#tilPost)

That’s a very short one. I was reading "CSS rules that will make your life easier" and came across word-spacing which I haven’t seen before.
.foo {
word-spacing: 3px;
}

The above can be used to definie the gap between w…


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

That's a very short one. I was reading "CSS rules that will make your life easier" and came across word-spacing which I haven't seen before.

.foo {
  word-spacing: 3px;
}

The above can be used to definie the gap between words. I could imagine that this could be useful when dealing with custom fonts to make the switch from fallback font to custom font less jumpy. :)

You can find all needed info on MDN and before you jump right onto it please consider that this property could slow down reading speed of your users.


Reply to Stefan


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis


Print Share Comment Cite Upload Translate Updates
APA

Stefan Judis | Sciencx (2019-05-26T22:00:00+00:00) word-spacing controls the gap between words (#tilPost). Retrieved from https://www.scien.cx/2019/05/26/word-spacing-controls-the-gap-between-words-tilpost/

MLA
" » word-spacing controls the gap between words (#tilPost)." Stefan Judis | Sciencx - Sunday May 26, 2019, https://www.scien.cx/2019/05/26/word-spacing-controls-the-gap-between-words-tilpost/
HARVARD
Stefan Judis | Sciencx Sunday May 26, 2019 » word-spacing controls the gap between words (#tilPost)., viewed ,<https://www.scien.cx/2019/05/26/word-spacing-controls-the-gap-between-words-tilpost/>
VANCOUVER
Stefan Judis | Sciencx - » word-spacing controls the gap between words (#tilPost). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2019/05/26/word-spacing-controls-the-gap-between-words-tilpost/
CHICAGO
" » word-spacing controls the gap between words (#tilPost)." Stefan Judis | Sciencx - Accessed . https://www.scien.cx/2019/05/26/word-spacing-controls-the-gap-between-words-tilpost/
IEEE
" » word-spacing controls the gap between words (#tilPost)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2019/05/26/word-spacing-controls-the-gap-between-words-tilpost/. [Accessed: ]
rf:citation
» word-spacing controls the gap between words (#tilPost) | Stefan Judis | Sciencx | https://www.scien.cx/2019/05/26/word-spacing-controls-the-gap-between-words-tilpost/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.