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: 54Word Count: 303See All articles From Author

Web Design Articles

1. How To Hire Magento Developer?
Author: Magento Development India

2. Unbeatable Reasons That Should Make You Seriously Consider A Responsive Website Design For Your Site
Author: sean parker

3. 8 Current Web Design Composition Components And Patterns
Author: infocampus logics pvt ltd

4. Best Practices For Setting Up A Domain
Author: DNfinder

5. Do's And Don'ts Every Ecommerce Development Company Should Follow
Author: Gaurav Jain

6. Mobile Web Development Company - Choose A Suitable One
Author: milena reddy

7. List In Html
Author: Tipsfor123456 Tipsfor

8. Bold Tag In Html
Author: Tipsfor123456 Tipsfor

9. Paragraph Tag In Html
Author: Tipsfor123456 Tipsfor

10. Heading Tag In Html
Author: Tipsfor123456 Tipsfor

11. What Is Html
Author: Tipsfor123456 Tipsfor

12. Find The Complete Web Solution With Freelance Developers
Author: steve robert

13. How To Get The Free Website Domain Services?
Author: illusiongroups

14. Web Development - Roamsoft Technologies
Author: Zonasorrel

15. Shopify: The Best Platform For Ecommerce
Author: Sam Web Studio

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