how to apply multiple styles in js code example
Example 1: set multiple attributes css javascript
document.getElementById("myElement").style.cssText = "display: block; position: absolute";
Example 2: how to add multiple styles in javascript
Object.assign(yourelement.style,{fontsize:"12px",left:"200px",top:"100px"});