/ stream.nieuweinstituut.nl / node_modules / postcss-modules-local-by-default /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[TXT]CHANGELOG.md40 years ago3.7K 
[   ]LICENSE40 years ago1.1K 
[TXT]README.md40 years ago1.9Kd768d73 docs [كارل مبارك]
[   ]index.js40 years ago 15K3e510ca test new git [كارل مبارك]
[   ]package.json2 years ago2.4K3e510ca test new git [كارل مبارك]
README.md

Build Status codecov npm

CSS Modules: Local by Default

Transformation examples:

.foo { ... } /* => */ :local(.foo) { ... }

.foo .bar { ... } /* => */ :local(.foo) :local(.bar) { ... }

/* Shorthand global selector */

:global .foo .bar { ... } /* => */ .foo .bar { ... }

.foo :global .bar { ... } /* => */ :local(.foo) .bar { ... }

/* Targeted global selector */

:global(.foo) .bar { ... } /* => */ .foo :local(.bar) { ... }

.foo:global(.bar) { ... } /* => */ :local(.foo).bar { ... }

.foo :global(.bar) .baz { ... } /* => */ :local(.foo) .bar :local(.baz) { ... }

.foo:global(.bar) .baz { ... } /* => */ :local(.foo).bar :local(.baz) { ... }

Building

$ npm install
$ npm test

Development

$ npm run autotest

License

MIT

With thanks


Mark Dalgleish, 2015.

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80