DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to add multiple styles in javascript
Object.assign(yourelement.style,{fontsize:"12px",left:"200px",top:"100px"});
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#add
#multiple
#styles
#javascript
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit