Contact Form

Wednesday, June 8, 2011

Just another reason to love HTML5 and CSS3 - add the great looking text effects!

जय
महाराष्ट्र!


CSS - to be added to just before </head>
<style>
.shadow{
background: #ff5c03;color:#fff; text-align:center;text-shadow: 0 1px 0 #ccc,
0 2px 0 #c9c9c9,0 3px 0 #bbb,
0 4px 0 #b9b9b9,0 5px 0 #aaa,
0 6px 1px rgba(0,0,0,.1),0 0 5px rgba(0,0,0,.1),
0 1px 3px rgba(0,0,0,.3),0 3px 5px rgba(0,0,0,.2),
0 5px 10px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.2),
0 20px 20px rgba(0,0,0,.15);font-size:150px;line-height:1em;
}
</style>

The heading with above class - change the text to your own:
<h1 class="shadow">जय <br/> महाराष्ट्र!</h1>

No comments:

Post a Comment

author
Jake Simms
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt utlaoreet dolore.