npm install stylerjs
var styler =
Now that stylerjs has been imported in to your project you're able to start getting and setting CSS properties to your DOM elements.
var styles = ;
or you can pass it a node
var element = document;var styles = ;
You can set styles to multiple DOM elements by passing it a class. This will apply all of your specified styles to those elements.
or you can pass the styler a single node if you wish to do just one.
var element = document;;