9lessons programming blog
Loading Search
Monday, December 12, 2011

Text Effects using CSS3

This post is explains how to create Photoshop style 3D text effects using CSS3 text-shadow and @font-face property. These properties are supported in all modern browsers like Chrome, Safari and Firefox, except Internet Explorer is dead. Try following examples and enrich your web pages, use better color combinations for pretty results

Text Effects using CSS3

Download Script     Live Demo

Effect 1
.effect_1
{
color: #fff;
font: 80px Times New Roman, Times, serif;
text-shadow: 0 1px 0 #999,
0 2px 0 #999,
0 3px 0 #999,
0 4px 0 #999,
0 5px 0 #999,
0 6px 0 #000;
}

Text Effects CSS3

Effect 2
.effect_2
{
font: 80px Times New Roman, Times, serif;
text-shadow: -1px -1px 0px #000, 1px 1px 0px #666;
}

Text Effects CSS3

Effect 3
.effect_3
{
font: 80px Times New Roman, Times, serif;
text-shadow: 2px 2px 8px #fff;
color: transparent;
}

Text Effects CSS3

@font-face
@font-face
{
font-family: chandy;
src: url('comesinhandy.ttf') format("opentype");
}
.myfont
{
font-family:chandy;font-size:80px
}
// HTML Code
<div class="myfont">Srinivas Tamada</div>

Text Effects CSS3
Sponsored Links

Share this post

Comments
{ 27 comments }
Arun Kumar Munusamy said...

Its awesome..

Mohit Bumb said...

I'm expecting Some more posts from this blog

Anonymous said...

Thanks good job!

John The Coder said...

It's a great CSS3 start for me Sir, thanks! I have a question though can jQuery manipulate css3?

ந.லோகநாதன் said...

great post

shub said...

Sorry but IE is not dead :(

murtazabaig said...

Great Job man Well done..

sathish said...

its supper

Lenny said...

I'm learning CSS3, thanks for your post.

Aneek said...

Awesome.. It would be nice if you provide some more about the Css3 Gradients and Transitions. Looking forward to it.

jigishJi said...

superb

Richi Gallego said...

Yeah! It's good but not in all browsers...

Saqib Abbas said...

thanx it is great website

Hassan Chihab said...

nice tuto ;)

Anonymous said...

excellent

Anonymous said...

Great!!!!

교주 said...

oh good!

Anonymous said...

like...

khmer9lessons said...

Great
thanks

Nilesh said...

nice....

Kanchan said...

@shub- You can add support for different css3 properties in Internet Explorer with ms filters. To know more about ms filters you may check this link- http://msdn.microsoft.com/en-us/library/ms532847%28v=vs.85%29.aspx.

For a demo check this link (with ie6-8)- http://thewebmagz.com/demo/css3_effects.html.

Deven said...

cooooooooooooool

Sumit said...

Great work

mayur patel &amp; kishan pethani said...

i think you are providing better knowledge for web developer..

kamlesh said...

gerat brother

Jainuddin said...

Awesome man.....

Tawsif said...

Nice post bro.

Post a Comment

Subscribe now!Recent Posts

Categories

Subscribe now!Popular Posts

People Says

@9lessons thank you for the great tutorials, we truly appreciate your contributions to the design community.

Smashing Magazine

Like Me

follow me
products

9lessons labs

9lessons clouds

Android application

Chrome Extension