/styleSet

Primary LanguageJavaScript

StyleSet

StyleSet is a Javascript library to create CSS

travis npm

Install with npm

$ npm install style-set --save

Usage

Use with node.js

var styleSet = require('style-set');

Exemple :

var color = "#ffffff";

var style = styleSet({
    'background-color' : {
        red : true,
        white : false
    },
    color : color
});

// Append or edit style
style.set('height' , '200px');

License

MIT License