/ piacw.com / dev / final / node_modules / postcss-modules-local-by-default /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]package.json2 years ago2.5K0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]index.js2 years ago 15K0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]README.md2 years ago1.9K0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]LICENSE2 years ago1.1K0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]CHANGELOG.md2 years ago3.7K0fb859dc fixed mobile overflwo options [كارل مبارك]
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