Answers for "js set style as obj"

CSS
1

add styles object js

document.getElementById("myElement").style.cssText = "display: block; position: absolute";
Posted by: Guest on November-07-2020

Browse Popular Code Answers by Language