|
|
Adding Shadow to text using only css - CSS
|
Views : 262
|
|
Tagged in : CSS
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
There is a nice property CSS3 to add shadow to the text.
There is no need of photoshop work for this, just a property will do that.
Example :
text-shadow: 2px 2px 2px #000;
The above will add a shadow around the text of 2px size.
So dont disturb designers for this simple task and u do it on your own
<p style='font-weight: bold;text-shadow: #999999;'>Users of Webkit (from Safari 3+), Opera 9.5, Firefox 3.1(pre-Alpha), Konqueror or iCab should see a grey drop-shadow behind this paragraph.</p>
The above code will show a shadow for the paragraph text, but it works only on Safari 3+, Opera 9.5, Firefox 3.1(pre-Alpha)
|
|
By - Vijay, On - 2010-01-27 |
|
|
|