Home > DeveloperSection > Forums > Text shadow in css
Ankit Singh

Total Post:341

Posted on    March-27-2016 11:33 PM

 CSS-CSS3 CSS-CSS3  CSS  CSS Text Shadow 

 1 Reply(s)
 196  View(s)
Rate this:
We want to use Text shadow in css. how to use this please help me.

aditya kumar Patel

Total Post:250

Posted on    March-27-2016 11:38 PM

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">


<title>Text shadow </title>


.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;





<div class="Textshadow">











Don't want to miss updates? Please click the below button!

Follow MindStick