CSS
yourSelector { text-shadow: 1px 1px red; }
JavaScript
yourVariable.style.textShadow = `1px 1px red`