You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/postcss-custom-media/README.md
+15-14
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,9 @@
4
4
5
5
## Installation
6
6
7
-
$ npm install postcss-custom-media
7
+
```console
8
+
$ npm install postcss-custom-media
9
+
```
8
10
9
11
## Usage
10
12
@@ -45,28 +47,27 @@ Checkout [tests](test) for more examples.
45
47
46
48
### Options
47
49
48
-
#### `extensions` (default: `{}`)
50
+
#### `extensions`
49
51
50
-
Allows you to pass an object to define the `<media-query-list>` for each `<extension-name>`. These definitions will override any that exist in the CSS.
52
+
(default: `{}`)
51
53
52
-
#### `preserve` (default: `false`)
54
+
Allows you to pass an object to define the `<media-query-list>` for each
55
+
`<extension-name>`. These definitions will override any that exist in the CSS.
53
56
54
-
Allows you to preserve custom media query definitions in output.
57
+
#### `preserve`
55
58
56
-
#### `appendExtensions`(default: `false`)
59
+
(default: `false`)
57
60
58
-
If `preserve` is set to `true`, allows you to append your extensions at end of your CSS.
61
+
Allows you to preserve custom media query definitions in output.
59
62
60
-
---
63
+
#### `appendExtensions`
61
64
62
-
## Contributing
65
+
(default: `false`)
63
66
64
-
Work on a branch, install dev-dependencies, respect coding style & run tests before submitting a bug fix or a feature.
67
+
**This option only works if `preserve` is truthy**.
68
+
Allows you to append your extensions at end of your CSS.
0 commit comments