Last change
on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
691 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | # [postcss][postcss]-minify-selectors
|
---|
| 2 |
|
---|
| 3 | > Minify selectors with PostCSS.
|
---|
| 4 |
|
---|
| 5 | ## Install
|
---|
| 6 |
|
---|
| 7 | With [npm](https://www.npmjs.com/package/postcss-minify-selectors) do:
|
---|
| 8 |
|
---|
| 9 | ```
|
---|
| 10 | npm install postcss-minify-selectors --save
|
---|
| 11 | ```
|
---|
| 12 |
|
---|
| 13 | ## Example
|
---|
| 14 |
|
---|
| 15 | ### Input
|
---|
| 16 |
|
---|
| 17 | ```css
|
---|
| 18 | h1 + p, h2, h3, h2{color:blue}
|
---|
| 19 | ```
|
---|
| 20 |
|
---|
| 21 | ### Output
|
---|
| 22 |
|
---|
| 23 | ```css
|
---|
| 24 | h1+p,h2,h3{color:blue}
|
---|
| 25 | ```
|
---|
| 26 |
|
---|
| 27 | For more examples see the [tests](test.js).
|
---|
| 28 |
|
---|
| 29 | ## Usage
|
---|
| 30 |
|
---|
| 31 | See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
|
---|
| 32 | examples for your environment.
|
---|
| 33 |
|
---|
| 34 | ## Contributors
|
---|
| 35 |
|
---|
| 36 | See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).
|
---|
| 37 |
|
---|
| 38 | ## License
|
---|
| 39 |
|
---|
| 40 | MIT © [Ben Briggs](http://beneb.info)
|
---|
| 41 |
|
---|
| 42 | [postcss]: https://github.com/postcss/postcss
|
---|
Note:
See
TracBrowser
for help on using the repository browser.