0.0.3 • Published 9 years ago

scopecss v0.0.3

Weekly downloads
4
License
BSD-2-Clause
Repository
github
Last release
9 years ago

Scopecss

Scope the css by custom prefix (e.g.: component name)

Useage

var scopecss = require('scopecss')
var cssResource = '.nearby-place-list-content { color: red}';
var prefix = 'my_component_prefix';

scopecss(prefix, cssResource);
//return: .my_component_prefix .nearby-place-list-content { color: red}

Install

npm install scopecss

Test

npm test
0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago