Filthy Falcon
0
Q:

how to give shadow to text in css


text-shadow: h-shadow v-shadow blur-radius color|none|initial|inherit;

h1 {
  text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
}
1
.myClass{
  /*           x   y   blur color */
  text-shadow: 1px 1px 0px #ff0000;
}
1

    h1
 {

     
 text-shadow: 2px 2px #ff0000;

 }
 
0
text-shadow: h-shadow v-shadow blur-radius color|none|initial|inherit;
-1

New to Communities?

Join the community