(Close)
Forgot password?
Join Now! Watch Tutorials
macProVideo.com
Close

Free Premium Access

Access our entire library of Premium Hub Articles, Project Files and the first 10% of each Tutorial-Video from the Online Tutorial Library.

Create your FREE Account now!

Already a member? Login

Categories

Related Articles

  • Using Webfonts For Terrific Type Online
  • by Iain Anderson
  • Don't know your TrueType from your WOFF? Got EOT and SVG in a twist? Or perhaps you just want to learn how to get hold of excellent pre-made fonts and generate your own… Iain Anderson types it out.
  • Create an Apple iOS Icon for Your Website
  • by Toby Pitman
  • You have a website. Check. It works great on iOS devices. Check. If someone bookmarks it to the Home screen your custom icon appears. Not sure how to do that? This tutorial is for you.
  • Have Some Fun With CSS3 Transitions
  • by Toby Pitman
  • If you are curious about how to create visual nice and responsive roll over effects with transitions in CSS3 then stop here. Toby Pitman, shows you how to implement some very neat CSS3 tricks.
  • Getting Started in Adobe BrowserLab
  • by Geoff Blake
  • In this post we'll be taking a look at BrowserLab. What the heck is BrowserLab? It's a tool for web designers, which allows them to preview their work in a variety of browsers, on different platforms.

Related Tutorial-Videos

  • Motion 5 401
  • Creating 3D Text Fly Bys!
  • Watch and learn how to create a complex 3D text flyby effect in this 26-video series taught by motion graphics expert, Iain Anderson...
  • Photoshop CS5 103
  • Adding Text To Images
  • One of the most common techniques as a Photoshop user is to add text to an image or graphic. In this tutorial Photoshop Pro Nathan Fullerton shows you all the different ways you can approach Adding Text to Images in Photoshop...
  • Motion 5 103
  • Animating Text
  • What can Motion do with text? Well, anything you can possible imagine! With its advanced text creation and animation tools your 3D text can fly across the screen, rocket to the horizon and burst into molecular oblivion! Let Motion Master Michael Wohl show you how...
  • Mar 30, 2011
How To Create Text Shadows in CSS3
  • Genre: Web
  • Level: Beginner/Intermediate
  • Time to Complete: 5 minutes
  • 0 comments — Start Discussion

Preview these Photoshop Tutorial-Videos

Motion 5 401: Creating 3D Text Fly Bys! - Play IconMotion 5 401: Creating 3D Text Fly Bys! - Preview Video
Motion 5 103: Animating Text - Play IconMotion 5 103: Animating Text - Preview Video
Photoshop CS5 103: Adding Text To Images - Play IconPhotoshop CS5 103: Adding Text To Images - Preview Video

As I mentioned in my tutorial on creating rounded corners, CSS3 is offering up a lot of awesome new features, like multiple columns, gradients, and of course, border effects. In this tutorial, we'll take a look at another new feature, creating drop shadows on text.

This CSS property is supported by the most recent versions of all popular browsers except Internet Explorer...

Step 1

To get started with this effect, find or create a CSS rule that you'd like to apply the text shadow to. Probably the best way to make use of this would be to create a class rule specifically for applying this effect. That's what I'm going to do anyway. I've also applied a bit of formatting to my text using a redefined paragraph element.

Step 2

Next, add the "text-shadow" property to your rule. There are four values that we can apply to the "text-shadow" property. First, add in a color. You can use any color you'd like, although drop shadows are usually fairly dark. If you save your file and check your work in your browser, you'll notice that nothing happens. That's because we have to set some additional properties first.

Step 3

Directly after the color, let's set three numeric values. The first two values can be positive or negative. The last value must be positive.


Now what are these values for? Well, the first value is for the horizontal position of the drop shadow. A positive value will move the shadow to the right, and a negative value moves it to the left.

The second value controls the vertical position of the shadow. A positive value here will move the shadow downwards, while a negative value moves it upwards.

The third value controls the amount of blur on the shadow. Use a lower value for a sharper shadow, or a higher value for a more blurred shadow. As you can see, I prefer using fairly low values.

And that's all there is to creating Text-shadows in CSS3! Continue your CSS learning journey by checking out the tutorial below:

Preview these Photoshop Tutorial-Videos

Motion 5 401: Creating 3D Text Fly Bys! - Play IconMotion 5 401: Creating 3D Text Fly Bys! - Preview Video
Motion 5 103: Animating Text - Play IconMotion 5 103: Animating Text - Preview Video
Photoshop CS5 103: Adding Text To Images - Play IconPhotoshop CS5 103: Adding Text To Images - Preview Video
Geoff Blake

Geoff Blake

Geoff Blake is a book author, video presenter, designer, and visual artist. As an in demand live-on-stage software educator since 1997, Geoff has taught desktop publishing, web design and graphics courses all over North America and is regarded as an expert in Adobe's Creative Suite applications, as well as in HTML, CSS, WordPress, and related technologies. With his humorous, non-jargonny approach, Geoff produces highly regarded articles, video training and DVDs, and regularly contributes to top industry magazines and websites.

Comments

You must be logged in to post a comment.
Create an Account  Login Now

What is macProVideo.com?

macProVideo.com is an online education community featuring Tutorial-Videos & Training for popular Audio & Video Applications including Adobe CS, Logic Studio, Final Cut Studio, and more.
© 2012 macProVideo.com
a division of NonLinear Educating Inc.

About

Our Plans

Tutorials

Community

Help

Legal

Link