how to add text drop shadow in css code example Example: change text shadow javascript document.getElementById("id").style.textShadow = "new";