js style shadow code example Example: box shadow javascript style change document.getElementById("myDIV").style.boxShadow = "10px 20px 30px blue";