---
title: "Text shadow in css"  
description: "Text shadow in css"  
author: "Anonymous User"  
published: 2016-03-27  
updated: 2016-03-27  
canonical: https://www.mindstick.com/forum/34081/text-shadow-in-css  
category: "css-css3"  
tags: ["css-css3", "css", "css text shadow"]  
reading_time: 1 minute  

---

# Text shadow in css

We want to use [Text](https://www.mindstick.com/blog/301635/did-people-reinvent-texting-to-express-the-full-range-of-emotions) [shadow](https://yourviews.mindstick.com/view/87467/muslims-are-destroying-hindu-villages-under-the-shadow-of-mamta-banerjee) in css. how to use this please help me.

## Replies

### Reply by Anonymous User

```
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head>     <title>Text shadow </title>    <style>        .Textshadow h1 {            text-shadow: 2px 2px;         }
         .Textshadow h2 {            text-shadow: 2px 2px #1C22DE;         }
         .Textshadow h3 {            text-shadow: 2px 2px 5px #ffd800;         }
         .Textshadow h4 {            color: #3033CC;            text-shadow: 2px 2px 4px #000000;         }         .Textshadow h5 {            text-shadow: 0 0 3px #FF0000;         }         .Textshadow h6 {            text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;         }         .Textshadow p {            color: #9BFF8A;            text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;         }      </style>  </head><body>    <div class="Textshadow">    <h1>MindStick.com</h1>      <h2>MindStick.com</h2>      <h3>MindStick.com</h3>      <h4>MindStick.com</h4>      <h5>MindStick.com</h5>      <h6>MindStick.com</h6>      <p>MindStick.com</p>        </div></body></html>
```

![Text shadow in css](https://www.mindstick.com/mindstickforums/e704fbbb-47de-4542-8c1c-9725c0cafc34/images/af7a1e9a-8089-4108-8bc3-888cbf80c995.png)


---

Original Source: https://www.mindstick.com/forum/34081/text-shadow-in-css

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
