Festlegen mehrerer CSS mit DOM
document.getElementById("myElement").style.cssText = "display: block; position: absolute";
Tired Teira
document.getElementById("myElement").style.cssText = "display: block; position: absolute";
Object.assign(yourelement.style,{fontsize:"12px",left:"200px",top:"100px"});