Tuesday, August 20, 2013

CSS text letter spacing

<html>
<head>
<style type="text/css">
h1 {letter-spacing:2px}
h2 {letter-spacing:-3px}
</style>
</head>

<body>

<h1>The Sun is the star at the center of the Solar System.</h1>
<h2>The Sun is the star at the center of the Solar System.</h2>

</body>
</html>

Result


No comments: