- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set the shadow around the text in CSS
Use the text-shadow property to set the shadow around a text. You can try to run the following code to learn how to set the shadow around the text in CSS:
Example
<html> <head> </head> <body> <p style = "text-shadow:3px 1px 4px green;"> If your browser supports the CSS text-shadow property, this text will have a green shadow. </p> </body> </html>
- Related Articles
- Set the text shadow around a text with CSS
- CSS Text Shadow
- Animate CSS text-shadow property
- Usage of text-shadow property in CSS
- Add shadow effects to text with CSS
- Set Drop Shadow Effect with CSS
- How to set the shadow effect of a text with JavaScript?
- Create white text with black shadow using CSS
- Set the color of the text decoration in CSS
- Set the style of the text decoration in CSS
- Set a border around navbar with CSS
- How to set the whitespace between text in CSS?
- Set the direction of a text with CSS
- Add more than one shadow to a text with CSS
- How to set the cases for a text in CSS?

Advertisements