CSS Property Value How to - letter-spacing: .06em;








Question

We would like to know how to letter-spacing: .06em;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
p {<!-- w  w w  .j  a  v  a 2  s .  com-->
  font: 100%/1 sans-serif;
}

.one {
  letter-spacing: .06em;
}

.two {
  letter-spacing: .17em;
}
</style>
</head>
<body>
  <p class="one">Letter-spacing</p>
  <p class="two">Letter-spacing</p>
</body>
</html>

The code above is rendered as follows: