alexandre-garrec / styleSet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:JavaScript 100.0%