File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change
1
+ # 2.7.0 - 2016-06-28
2
+
3
+ - Added: `` @apply `` support (definitions limited to `` :root `` selector)
4
+ ([ #291 ] ( https://github.com/MoOx/postcss-cssnext/issues/291 ) ) - @pascalduez )
5
+
1
6
# 2.6.0 - 2016-06-01
2
7
3
8
- Added: `` overflow-wrap `` fallback
4
- ([ #280 ] ( https://github.com/MoOx/postcss-cssnext/pull/280 ) )
5
- - @MattDiMu
9
+ ([ #280 ] ( https://github.com/MoOx/postcss-cssnext/pull/280 ) - @MattDiMu )
6
10
7
11
# 2.5.2 - 2016-04-04
8
12
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ depending on your browser scope) using
21
21
## custom properties & ; ` var() `
22
22
23
23
The current transformation for custom properties aims to provide a
24
- future-proof way of using a ** limited subset ( to top-level ` :root ` selector) **
24
+ future-proof way of using a ** limited to ` :root ` selector**
25
25
of the features provided by native CSS custom properties.
26
26
27
27
``` css
34
34
}
35
35
```
36
36
37
- (The transformation is not complete and can't be properly. By injecting selectors
38
- with new computed rules, we will break original cascade & unexpected results
39
- might happen).
37
+ ⚠️ [ _ The definitions are ** limited to ` :root ` selector.** _ ] ( https://github.com/postcss/postcss-custom-properties#readme )
40
38
41
39
[ Specification] ( http://www.w3.org/TR/css-variables/ )
42
40
|
43
41
[ Plugin documentation] ( https://github.com/postcss/postcss-custom-properties )
44
42
45
43
## custom properties set & ; ` @apply `
46
44
47
- Allows you to store a set of properties in a named variable, then reference them
48
- in other style rules.
45
+ Allows you to store a set of properties in a named custom property,
46
+ then reference them in other style rules.
49
47
50
48
``` css
51
49
:root {
@@ -60,7 +58,7 @@ in other style rules.
60
58
}
61
59
```
62
60
63
- (The same DOM restrictions as the custom properties plugin apply).
61
+ ⚠️ [ _ The definitions are ** limited to ` :root ` selector. ** _ ] ( https://github.com/postcss/postcss-custom- properties#readme )
64
62
65
63
[ Specification] ( https://tabatkins.github.io/specs/css-apply-rule )
66
64
|
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " postcss-cssnext" ,
3
- "version" : " 2.6 .0" ,
3
+ "version" : " 2.7 .0" ,
4
4
"description" : " Use tomorrow’s CSS syntax, today" ,
5
5
"keywords" : [
6
6
" postcss" ,
You can’t perform that action at this time.
0 commit comments