how to add shadow to text css code example
Example 1: text shadow effect
//offset 2px right and down with a 5px defusion of gray
h1 {
text-shadow: 2px 2px 5px gray;
}
Example 2: change text shadow javascript
document.getElementById("id").style.textShadow = "new";
Example 3: css add a shadow beneath text
.red-text-shadow {
text-shadow: red 0 5px;
}