Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Jun 28, 2016
1 parent d27d15b commit dd8c1e4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
@@ -1,8 +1,12 @@
# 2.7.0 - 2016-06-28

- Added: ``@apply`` support (definitions limited to ``:root`` selector)
([#291](https://github.com/MoOx/postcss-cssnext/issues/291)) - @pascalduez)

# 2.6.0 - 2016-06-01

- Added: ``overflow-wrap`` fallback
([#280](https://github.com/MoOx/postcss-cssnext/pull/280))
- @MattDiMu
([#280](https://github.com/MoOx/postcss-cssnext/pull/280) - @MattDiMu)

# 2.5.2 - 2016-04-04

Expand Down
12 changes: 5 additions & 7 deletions docs/content/features.md
Expand Up @@ -21,7 +21,7 @@ depending on your browser scope) using
## custom properties & `var()`

The current transformation for custom properties aims to provide a
future-proof way of using a **limited subset (to top-level `:root` selector)**
future-proof way of using a **limited to `:root` selector**
of the features provided by native CSS custom properties.

```css
Expand All @@ -34,18 +34,16 @@ a {
}
```

(The transformation is not complete and can't be properly. By injecting selectors
with new computed rules, we will break original cascade & unexpected results
might happen).
⚠️ [_The definitions are **limited to `:root` selector.**_](https://github.com/postcss/postcss-custom-properties#readme)

[Specification](http://www.w3.org/TR/css-variables/)
|
[Plugin documentation](https://github.com/postcss/postcss-custom-properties)

## custom properties set & `@apply`

Allows you to store a set of properties in a named variable, then reference them
in other style rules.
Allows you to store a set of properties in a named custom property,
then reference them in other style rules.

```css
:root {
Expand All @@ -60,7 +58,7 @@ in other style rules.
}
```

(The same DOM restrictions as the custom properties plugin apply).
⚠️ [_The definitions are **limited to `:root` selector.**_](https://github.com/postcss/postcss-custom-properties#readme)

[Specification](https://tabatkins.github.io/specs/css-apply-rule)
|
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "postcss-cssnext",
"version": "2.6.0",
"version": "2.7.0",
"description": "Use tomorrow’s CSS syntax, today",
"keywords": [
"postcss",
Expand Down

0 comments on commit dd8c1e4

Please sign in to comment.