js apply multiple styles code example
Example: how to add multiple styles in javascript
Object.assign(yourelement.style,{fontsize:"12px",left:"200px",top:"100px"});
Object.assign(yourelement.style,{fontsize:"12px",left:"200px",top:"100px"});