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: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
3
3
# PostCSS CSS Variables
4
4
5
-
[PostCSS](https://github.com/postcss/postcss) plugin to transform [`CSS Custom Properties(CSS variables)`](http://dev.w3.org/csswg/css-variables/) syntax into a static representation. This plugin provides a future-proof way of using **most** of CSS variables featuers.
5
+
[PostCSS](https://github.com/postcss/postcss) plugin to transform [`CSS Custom Properties(CSS variables)`](http://dev.w3.org/csswg/css-variables/) syntax into a static representation. This plugin provides a future-proof way of using **most** of CSS variables features.
6
6
7
7
CSS variables or CSS Custom Properties limited subset polyfill/shim.
8
8
9
-
We strive for the most complete transformation but we/no plugin can achieve true complete parity according to the [speficification](http://dev.w3.org/csswg/css-variables/) because of the DOM cascade unknowns.
9
+
We strive for the most complete transformation but we/no plugin can achieve true complete parity according to the [specification](http://dev.w3.org/csswg/css-variables/) because of the DOM cascade unknowns.
`post-css-variables` plays really nice with [`postcss-nested`](https://github.com/postcss/postcss-nested) in order to get a larger subset of CSS variables features. *See [Nested rules, Usage section](#nested-rules)*
195
195
196
-
If you are using [`postcss-custom-properties`](https://github.com/postcss/postcss-custom-properties)previosly, we have a compatible feature set and more so you can switch over without having to refactor any of your code. You can just start writing the new awesome stuff.
196
+
If you are using [`postcss-custom-properties`](https://github.com/postcss/postcss-custom-properties)previously, we have a compatible feature set and more so you can switch over without having to refactor any of your code. You can just start writing the new awesome stuff.
197
197
198
198
199
199
# Why?
@@ -207,7 +207,7 @@ There is another similar plugin available, [`postcss-custom-properties`](https:/
207
207
The main features that we`post-css-variables` add/provide are:
208
208
209
209
- No limitation on what scope CSS variables can be declared or used (`:root` or wherever)
210
-
- Proper value substition based on explicit DOM/structure traversal
210
+
- Proper value substitution based on explicit DOM/structure traversal
211
211
- At-rule support `@media`, `@support`, etc
212
212
- Nested rules which can be fully deduced with [`postcss-nested`](https://github.com/postcss/postcss-nested).
0 commit comments