Answers for "how to add multiple styles from js in one line"

CSS
0

how to add multiple styles in javascript

Object.assign(yourelement.style,{fontsize:"12px",left:"200px",top:"100px"});
Posted by: Guest on September-02-2020

Code answers related to "how to add multiple styles from js in one line"

Browse Popular Code Answers by Language