Friday, February 17, 2012

CSS Text Shadow - Create a Shadow On Your Text

2 komentar
CSS Text Shadow , Create a Shadow On Your Text
Hai guys, now i will share a great CSS Tutorial to you. Ya, CSS Text Shadow, maybe some of you have known how to do this. Its just a simple CSS tricks.
Ok, this is it CSS Text Shadow Tutorial


Regular text shadow:
p { text-shadow: 1px 1px 1px #000; }
Example :
Yahyagan Blog CSS Text Shadow 
The first two values specify the length of the shadow offset. The first value specifies the horizontal distance and the second specifies the vertical distance of the shadow. The third value specifies the blur radius and the last value describes the color of the shadow:

1. value = The X-coordinate
2. value = The Y-coordinate
3. value = The blur radius
4. value = The color of the shadow

Using positive numbers as the first two values ends up with placing the shadow to the right of the text horizontally (first value) and placing the shadow below the text vertically (second value).

The third value, the blur radius, is an optional value which can be specified but don’t have to. It’s the amount of pixels the text is stretched which causes a blur effect. If you don’t use the third value it is treated as if you specified a blur radius of zero.
More Example :


1. Multiple Text Shadow
{text-shadow: 0.2em 0.5em 0.1em #600,
-0.3em 0.1em 0.1em #060,
0.4em -0.3em 0.1em #006}

Yahyagan Blog 
2. Other Placement
{text-shadow: -1px -1px white, 1px 1px #333}
{text-shadow: 1px 1px white, -1px -1px #333}
Text Shadow Property
By Yahyagan Blog
Ok, thats it the CSS Text Shadow Tutorial.

Source : erasparsa
Next Post Add an Animated Rainbow Link To Your Blog
Keyword For This Article :
CSS Text Shadow, Text Shadow Property, Create a Shadow on your Blogger Text

2 komentar:

  1. first, LoL...

    Nice post friend... Keep posting... ^_^

    ReplyDelete
  2. Actually that is really amazing stuff thanks for sharing...!

    Psd to xhtml

    ReplyDelete