JSFiddle - React, Tailwind, and code Playground
HTML
<div>hello</div>
JavaScript
var sh = ""
for (i = 1; i < 14; i++) {
sh += ',#FFD800 ' + i + 'px ' + i + 'px 0';
}
console.log(sh)
$("div").css("text-shadow", sh);
<div>hello</div>
var sh = ""
for (i = 1; i < 14; i++) {
sh += ',#FFD800 ' + i + 'px ' + i + 'px 0';
}
console.log(sh)
$("div").css("text-shadow", sh);