1.1.1 • Published 9 years ago

cssspace v1.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

cssspace

Build Status Code Climate Code Coverage npm Version

Rewrite each selectors in css.

Installation

$ npm install cssspace --save

Usage

Wrap Each Selectors

cssspace.wrap(css, parent) method parses css string and add parent selector to each selectors.

var cssspace = require('cssspace');

var converted = cssspace.addParent('header{background:#FFF}', 'main');
console.log(converted); // -> "main header {\n  background: #FFF;\n}"

License

This software is released under the MIT License.

Links

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago