Published at
Updated at
Reading time
This post is part of my Today I learned series in which I share all my web development learnings.

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.

Was this TIL post helpful?
Yes? Cool! You might want to check out Web Weekly for more quick learnings. The last edition went out 14 days ago.
Stefan standing in the park in front of a green background

About Stefan Judis

Frontend nerd with over ten years of experience, freelance dev, "Today I Learned" blogger, conference speaker, and Open Source maintainer.

Related Topics

Related Articles