This website may use cookies. More info. That's Fine x
Welcome Login

Css: letter-spacing


The letter-spacing property increases or decreases the space between characters in a text.

 

Eg:

<html>

<head>
<style>
h1 {letter-spacing:4px}
h2 {letter-spacing:-6px} 
</style>
</head>

<body>
    <h1>Heading 1</h1>
    <h2>Heading 1</h2>
</body>

</html>

 

 

Outputs:

css-letterspacing1


Created on: Friday, October 26, 2012 by Andrew Sin