123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Web-Design >> View Article

How To Implement Text-shadow In Css?

By Author: Ragam Sateesh
Total Articles: 1

There are multiple effects in CSS which can look very cool for a website. One of the property which stands out from the rest is "Text Shadow". In this article, we will explain how we can acheive text shadow effect to the elements in HTML through CSS. There are two ways to acheive text shadow effect.

1.Single text shadow:

CSS:
p{
text-shadow:1px 2px 1px blue;
}

Explanation:
The following would explain how to use single text shadow effect to the elements.
First value in the property is X-coordinate: 1px
Second value in the property is Y-coordinate: 2px
Third value in the property is Blur radius: 1x
Last value is text color of the shadow: blue.

First and second values are required.These two values specify the text shadow distance.X-coordinate specifies the horizontal distance.Y-coordinate specifies the vertical distance.If both the values are none or 0,shadow is placed directly behind the text, no change in the text.

Third value is blur radius,it is optional.if we give higher value,bigger blur and shadow text becomes wider and lighter. If not specifies any value it defaults to o.
fourth value is color of the shadow.


2.Mutliple text shadow:

Css:
p{
text-shadow:1px 2px 1px blue,
2px 2px 3px #fff;

}


You can also apply multilple text shadows separating by comma.

Total Views: 101Word Count: 303See All articles From Author

Web Design Articles

1. Ways To Build Super Audience
Author: Rajput Singh

2. Dynamic Website Design Company In Bangalore
Author: Raghu

3. All About Designing A Website That Drives Traffic & Conversions
Author: Frisco Web Solutions

4. Problems Related To Web Designing That Need To Be Tackled Smartly
Author: Wheelistic Web Design

5. Why Using Design Templates Is A Poor Idea For Your Website
Author: Wheelistic Web Design

6. 5 Website Design Tactics For Mobile You Shouldn’t Miss
Author: Wheelistic Web Design

7. Why You Should Maintain Consistency Between Your Logo And Website
Author: Wheelistic Web Design

8. Why A Good Landing Page Has Greater Impact On The Conversion Rate
Author: Wheelistic Web Design

9. Major Elements To Consider While Improving Your Visual Branding On Social Media.
Author: Jaffer Khan

10. How Consumer Behavior Is Changing Brand Management Practices?
Author: Jaffer Khan

11. 7 Important Characteristics Of A Fabulous Website For Your Business.
Author: Jaffer Khan

12. 4 Design Elements To Make Your Website Look Professional
Author: Frisco Web Solutions

13. Best Web Designing Company In Hyderabad|mg Infomatics
Author: MG Infomatics

14. Enquiry Management Software
Author: Nikhil Bhandari

15. Top Android App Development Trends To Rule In 2018
Author: informatics matrix

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: