Heading Effect

You know that cool heading effect that almost everyone has now? The first letter of the heading is one color and the rest is something else? Well, here's how to do it, and it's with CSS!

Add this tag to your css:

h1:first-letter
{color: #ff0000;
font-size: 20px;
font-weight: bold;
text-decoration: underline;}
Inside the brackets, add or change anything you want. You can replace h1 with h2, h3, h4, h5, or h6. Enjoy!

© Stainedink.com 2007 - 2008