DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
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
8+2 =
Submit