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