CSS Techie Stuff

I never realized this, but you can put more than one class into an html element.

Example:
<style>
     .red {color:red;}
     .padded { padding: 10px;}
     .backed {background:yellow;}
     .verdana {font: 14px verdana;}
</style>
<span class=”red backed padded verdana”>New CSS Trick!</span>

CSS is so cool. I love it. I want to marry it. Except Im already married. Love you honey! heh.

Leave a Reply