<div class="container">
<h3>The spacing between these words is <em>increased</em> by <code>2em</code></h3>
<div class="words">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Necessitatibus earum ut alias doloremque esse. Porro maxime dicta veniam molestias sed modi sunt sapiente eum nostrum consequatur accusantium facilis blanditiis nihil.
</div>
</div>
<div class="container blocks-container">
<h3>The spacing between these inline-block level elements is <em>increased</em> by <code>2em</code> when you hover over their container (<code>word-spacing</code> is transitionable)</code></h3>
<div class="blocks">
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
<div class="block"></div>
</div>
</div>
body {
background-color: #F5F5F5;
color: #555;
font-size: 1.1em;
line-height: 1.5;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.container {
margin: 50px auto;
max-width: 700px;
}
.words {
background-color: #0099cc;
color: white;
padding: 1em;
word-spacing: 2em;
}
.blocks {
-webkit-transition: word-spacing .6s ease;
transition: word-spacing .6s ease;
}
.blocks:hover {
word-spacing: 2em;
}
.block {
display: inline-block;
width: 100px;
height: 100px;
background-color: #0099cc;
}