CSSOBJ

CSS Rules from JS, change rules dynamically, CSSOM, css modules, auto vendor prefixer, media query for old browsers. https://cssobj.github.io/cssobj-demo/

CSS in JS solution, create CSSOM and CSS rules from js, features:

CSS Rules create and diff
CSS modules with local class
Auto vendor prefixer
Media query for old browsers
Dynamically change CSS

Live Demo

https://cssobj.github.io/cssobj-demo/

CSSOBJ

jsfiddle Demo

GitHub