Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit e2365c3

Browse files
committed
publish: 2.7.0
generated from commit dd8c1e4
1 parent 57e6ac6 commit e2365c3

File tree

10 files changed

+151
-114
lines changed

10 files changed

+151
-114
lines changed

credits/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
</linearGradient>
162162
<path fill="url(#SVGID_12_)" d="M255.475,13.569l-4.391,21.613h-0.932l4.373-21.613H255.475z"/>
163163
</g>
164-
</svg></span><span class="cssnext-Header-version">2.6.0</span></a><a href="/features/" class="cssnext-Header-nav-item">Features</a><a href="/setup/" class="cssnext-Header-nav-item">Setup</a><a href="/usage/" class="cssnext-Header-nav-item">Usage</a><a href="/playground/" class="cssnext-Header-nav-item">Playground</a></span></div><div class="r-Grid-cell r-minM--2of6"><div class="cssnext-Header-nav"><a href="https://gitter.im/MoOx/postcss-cssnext" class="cssnext-Header-nav-item">Support</a><a href="https://github.com/MoOx/postcss-cssnext" title="GitHub" class="cssnext-Header-nav-item">GitHub</a><a href="https://twitter.com/cssnext" title="Twitter" class="cssnext-Header-nav-item">Twitter</a></div></div></div></header><header class="cssnext-Jumbotron cssnext-Jumbotron--default cssnext-Jumbotron--credits-html"><div class="r-Grid"><div class="r-Grid-cell"><h1 class="cssnext-Jumbotron-title cssnext-Light">Credits</h1></div></div></header><section class="r-Grid cssnext-Section"><div class="r-Grid-cell js-markdownIt-TOCOriginalContainer"><ul>
164+
</svg></span><span class="cssnext-Header-version">2.7.0</span></a><a href="/features/" class="cssnext-Header-nav-item">Features</a><a href="/setup/" class="cssnext-Header-nav-item">Setup</a><a href="/usage/" class="cssnext-Header-nav-item">Usage</a><a href="/playground/" class="cssnext-Header-nav-item">Playground</a></span></div><div class="r-Grid-cell r-minM--2of6"><div class="cssnext-Header-nav"><a href="https://gitter.im/MoOx/postcss-cssnext" class="cssnext-Header-nav-item">Support</a><a href="https://github.com/MoOx/postcss-cssnext" title="GitHub" class="cssnext-Header-nav-item">GitHub</a><a href="https://twitter.com/cssnext" title="Twitter" class="cssnext-Header-nav-item">Twitter</a></div></div></div></header><header class="cssnext-Jumbotron cssnext-Jumbotron--default cssnext-Jumbotron--credits-html"><div class="r-Grid"><div class="r-Grid-cell"><h1 class="cssnext-Jumbotron-title cssnext-Light">Credits</h1></div></div></header><section class="r-Grid cssnext-Section"><div class="r-Grid-cell js-markdownIt-TOCOriginalContainer"><ul>
165165
<li><a href="https://www.flickr.com/photos/jasoncipriani/11866004734">delorean back</a></li>
166166
<li><a href="https://www.flickr.com/photos/wizzer/9295055565">delorean with blue trails</a></li>
167167
<li><a href="https://www.flickr.com/photos/brianneudorff/10047726604">bttf legos</a></li>
@@ -330,5 +330,5 @@
330330
</linearGradient>
331331
<path fill="url(#SVGID_12_)" d="M255.475,13.569l-4.391,21.613h-0.932l4.373-21.613H255.475z"/>
332332
</g>
333-
</svg></span> is brought to you by <a href="https://twitter.com/MoOx">@MoOx</a> &amp; <a href="https://github.com/MoOx/postcss-cssnext/graphs/contributors">some other contributors</a>.</p><small><a href="/it-s-cssnext-not-CSSNext">Note: it&#x27;s cssnext, not CSSNext</a><span style="opacity:.4;margin-left:1rem;"><a href="/credits">Credits</a> | <a href="https://github.com/MoOx/postcss-cssnext/edit/master/docs/content/credits.md">Edit this page</a></span></small></footer><script src="/index.js?6139be442f66fae29934"></script><script>
333+
</svg></span> is brought to you by <a href="https://twitter.com/MoOx">@MoOx</a> &amp; <a href="https://github.com/MoOx/postcss-cssnext/graphs/contributors">some other contributors</a>.</p><small><a href="/it-s-cssnext-not-CSSNext">Note: it&#x27;s cssnext, not CSSNext</a><span style="opacity:.4;margin-left:1rem;"><a href="/credits">Credits</a> | <a href="https://github.com/MoOx/postcss-cssnext/edit/master/docs/content/credits.md">Edit this page</a></span></small></footer><script src="/index.js?4d0b817adac9cac909e8"></script><script>
334334
!function(c,s,S,n,e,x,t){c.GoogleAnalyticsObject=S;c[S]||(c[S]=function(){(c[S].q=c[S].q||[]).push(arguments)});c[S].l=+new Date;x=s.createElement(n);t=s.getElementsByTagName(n)[0];x.src=e;t.parentNode.insertBefore(x,t)}(window,document,'ga','script','//www.google-analytics.com/analytics.js');ga('create','UA-55403963-1','auto');ga('send','pageview');</script></body></html>

features/index.html

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,16 @@
161161
</linearGradient>
162162
<path fill="url(#SVGID_12_)" d="M255.475,13.569l-4.391,21.613h-0.932l4.373-21.613H255.475z"/>
163163
</g>
164-
</svg></span><span class="cssnext-Header-version">2.6.0</span></a><a href="/features/" class="cssnext-Header-nav-item">Features</a><a href="/setup/" class="cssnext-Header-nav-item">Setup</a><a href="/usage/" class="cssnext-Header-nav-item">Usage</a><a href="/playground/" class="cssnext-Header-nav-item">Playground</a></span></div><div class="r-Grid-cell r-minM--2of6"><div class="cssnext-Header-nav"><a href="https://gitter.im/MoOx/postcss-cssnext" class="cssnext-Header-nav-item">Support</a><a href="https://github.com/MoOx/postcss-cssnext" title="GitHub" class="cssnext-Header-nav-item">GitHub</a><a href="https://twitter.com/cssnext" title="Twitter" class="cssnext-Header-nav-item">Twitter</a></div></div></div></header><header class="cssnext-Jumbotron cssnext-Jumbotron--default cssnext-Jumbotron--features-html cssnext-Jumbotron--darkRoad"><div class="r-Grid"><div class="r-Grid-cell"><h1 class="cssnext-Jumbotron-title cssnext-Light">postcss-cssnext features</h1><strong class="cssnext-Jumbotron-subtitle cssnext-Light">Discover the future of CSS</strong></div></div></header><section class="r-Grid cssnext-Section"><div class="r-Grid-cell js-markdownIt-TOCOriginalContainer"><p>
164+
</svg></span><span class="cssnext-Header-version">2.7.0</span></a><a href="/features/" class="cssnext-Header-nav-item">Features</a><a href="/setup/" class="cssnext-Header-nav-item">Setup</a><a href="/usage/" class="cssnext-Header-nav-item">Usage</a><a href="/playground/" class="cssnext-Header-nav-item">Playground</a></span></div><div class="r-Grid-cell r-minM--2of6"><div class="cssnext-Header-nav"><a href="https://gitter.im/MoOx/postcss-cssnext" class="cssnext-Header-nav-item">Support</a><a href="https://github.com/MoOx/postcss-cssnext" title="GitHub" class="cssnext-Header-nav-item">GitHub</a><a href="https://twitter.com/cssnext" title="Twitter" class="cssnext-Header-nav-item">Twitter</a></div></div></div></header><header class="cssnext-Jumbotron cssnext-Jumbotron--default cssnext-Jumbotron--features-html cssnext-Jumbotron--darkRoad"><div class="r-Grid"><div class="r-Grid-cell"><h1 class="cssnext-Jumbotron-title cssnext-Light">postcss-cssnext features</h1><strong class="cssnext-Jumbotron-subtitle cssnext-Light">Discover the future of CSS</strong></div></div></header><section class="r-Grid cssnext-Section"><div class="r-Grid-cell js-markdownIt-TOCOriginalContainer"><p>
165165
<ul class="markdownIt-TOC">
166166
<li>
167167
<a href="#automatic-vendor-prefixes">automatic vendor prefixes</a>
168168
</li>
169169
<li>
170-
<a href="#custom-properties-var">custom properties & `var()`</a>
170+
<a href="#custom-properties-var">custom properties &amp; `var()`</a>
171+
</li>
172+
<li>
173+
<a href="#custom-properties-set-apply">custom properties set &amp; `@apply`</a>
171174
</li>
172175
<li>
173176
<a href="#reduced-calc">reduced `calc()`</a>
@@ -243,7 +246,7 @@ <h2 id="automatic-vendor-prefixes"><a class="markdownIt-Anchor" href="#automatic
243246
<strong><a href="https://github.com/postcss/autoprefixer">autoprefixer</a></strong>).</p>
244247
<h2 id="custom-properties-var"><a class="markdownIt-Anchor" href="#custom-properties-var">#</a> custom properties &amp; <code>var()</code></h2>
245248
<p>The current transformation for custom properties aims to provide a
246-
future-proof way of using a <strong>limited subset (to top-level <code>:root</code> selector)</strong>
249+
future-proof way of using a <strong>limited to <code>:root</code> selector</strong>
247250
of the features provided by native CSS custom properties.</p>
248251
<pre><code class="language-css"><span class="hljs-pseudo">:root</span> <span class="hljs-rules">{
249252
<span class="hljs-rule"><span class="hljs-attribute">--mainColor</span>:<span class="hljs-value"> red</span></span>;
@@ -252,12 +255,27 @@ <h2 id="custom-properties-var"><a class="markdownIt-Anchor" href="#custom-proper
252255
<span class="hljs-tag">a</span> <span class="hljs-rules">{
253256
<span class="hljs-rule"><span class="hljs-attribute">color</span>:<span class="hljs-value"> <span class="hljs-function">var</span>(--mainColor)</span></span>;
254257
}</span></code></pre>
255-
<p>(The transformation is not complete and can’t be properly. By injecting selectors
256-
with new computed rules, we will break original cascade &amp; unexpected results
257-
might happen).</p>
258+
<p>⚠️ <a href="https://github.com/postcss/postcss-custom-properties#readme"><em>The definitions are <strong>limited to <code>:root</code> selector.</strong></em></a></p>
258259
<p><a href="http://www.w3.org/TR/css-variables/">Specification</a>
259260
|
260261
<a href="https://github.com/postcss/postcss-custom-properties">Plugin documentation</a></p>
262+
<h2 id="custom-properties-set-apply"><a class="markdownIt-Anchor" href="#custom-properties-set-apply">#</a> custom properties set &amp; <code>@apply</code></h2>
263+
<p>Allows you to store a set of properties in a named custom property,
264+
then reference them in other style rules.</p>
265+
<pre><code class="language-css">:root {
266+
--danger-theme: {
267+
color: white;
268+
background-color: red;
269+
};
270+
}
271+
272+
.danger {
273+
@apply --danger-theme;
274+
}</code></pre>
275+
<p>⚠️ <a href="https://github.com/postcss/postcss-custom-properties#readme"><em>The definitions are <strong>limited to <code>:root</code> selector.</strong></em></a></p>
276+
<p><a href="https://tabatkins.github.io/specs/css-apply-rule">Specification</a>
277+
|
278+
<a href="https://github.com/pascalduez/postcss-apply">Plugin documentation</a></p>
261279
<h2 id="reduced-calc"><a class="markdownIt-Anchor" href="#reduced-calc">#</a> reduced <code>calc()</code></h2>
262280
<p>Allows you to use safely calc with custom properties by optimizing previously
263281
parsed <code>var()</code> references.</p>
@@ -664,5 +682,5 @@ <h2 id="todo"><a class="markdownIt-Anchor" href="#todo">#</a> @todo</h2>
664682
</linearGradient>
665683
<path fill="url(#SVGID_12_)" d="M255.475,13.569l-4.391,21.613h-0.932l4.373-21.613H255.475z"/>
666684
</g>
667-
</svg></span> is brought to you by <a href="https://twitter.com/MoOx">@MoOx</a> &amp; <a href="https://github.com/MoOx/postcss-cssnext/graphs/contributors">some other contributors</a>.</p><small><a href="/it-s-cssnext-not-CSSNext">Note: it&#x27;s cssnext, not CSSNext</a><span style="opacity:.4;margin-left:1rem;"><a href="/credits">Credits</a> | <a href="https://github.com/MoOx/postcss-cssnext/edit/master/docs/content/features.md">Edit this page</a></span></small></footer><script src="/index.js?6139be442f66fae29934"></script><script>
685+
</svg></span> is brought to you by <a href="https://twitter.com/MoOx">@MoOx</a> &amp; <a href="https://github.com/MoOx/postcss-cssnext/graphs/contributors">some other contributors</a>.</p><small><a href="/it-s-cssnext-not-CSSNext">Note: it&#x27;s cssnext, not CSSNext</a><span style="opacity:.4;margin-left:1rem;"><a href="/credits">Credits</a> | <a href="https://github.com/MoOx/postcss-cssnext/edit/master/docs/content/features.md">Edit this page</a></span></small></footer><script src="/index.js?4d0b817adac9cac909e8"></script><script>
668686
!function(c,s,S,n,e,x,t){c.GoogleAnalyticsObject=S;c[S]||(c[S]=function(){(c[S].q=c[S].q||[]).push(arguments)});c[S].l=+new Date;x=s.createElement(n);t=s.getElementsByTagName(n)[0];x.src=e;t.parentNode.insertBefore(x,t)}(window,document,'ga','script','//www.google-analytics.com/analytics.js');ga('create','UA-55403963-1','auto');ga('send','pageview');</script></body></html>

index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
</linearGradient>
162162
<path fill="url(#SVGID_12_)" d="M255.475,13.569l-4.391,21.613h-0.932l4.373-21.613H255.475z"/>
163163
</g>
164-
</svg></span><span class="cssnext-Header-version">2.6.0</span></a><a href="/features/" class="cssnext-Header-nav-item">Features</a><a href="/setup/" class="cssnext-Header-nav-item">Setup</a><a href="/usage/" class="cssnext-Header-nav-item">Usage</a><a href="/playground/" class="cssnext-Header-nav-item">Playground</a></span></div><div class="r-Grid-cell r-minM--2of6"><div class="cssnext-Header-nav"><a href="https://gitter.im/MoOx/postcss-cssnext" class="cssnext-Header-nav-item">Support</a><a href="https://github.com/MoOx/postcss-cssnext" title="GitHub" class="cssnext-Header-nav-item">GitHub</a><a href="https://twitter.com/cssnext" title="Twitter" class="cssnext-Header-nav-item">Twitter</a></div></div></div></header><div class=""><div class="cssnext-Jumbotron cssnext-Jumbotron--default cssnext-Center cssnext-Light">
164+
</svg></span><span class="cssnext-Header-version">2.7.0</span></a><a href="/features/" class="cssnext-Header-nav-item">Features</a><a href="/setup/" class="cssnext-Header-nav-item">Setup</a><a href="/usage/" class="cssnext-Header-nav-item">Usage</a><a href="/playground/" class="cssnext-Header-nav-item">Playground</a></span></div><div class="r-Grid-cell r-minM--2of6"><div class="cssnext-Header-nav"><a href="https://gitter.im/MoOx/postcss-cssnext" class="cssnext-Header-nav-item">Support</a><a href="https://github.com/MoOx/postcss-cssnext" title="GitHub" class="cssnext-Header-nav-item">GitHub</a><a href="https://twitter.com/cssnext" title="Twitter" class="cssnext-Header-nav-item">Twitter</a></div></div></div></header><div class=""><div class="cssnext-Jumbotron cssnext-Jumbotron--default cssnext-Center cssnext-Light">
165165
<section class="r-Grid">
166166
<div class="r-Grid-cell">
167167
<strong class="cssnext-Jumbotron-title">Use tomorrow’s CSS syntax, today.</strong>
@@ -209,7 +209,10 @@ <h2 class="cssnext-Section-title"><a href="/features/">Features</a></h2>
209209
<a href="/features/#automatic-vendor-prefixes">automatic vendor prefixes</a>
210210
</li>
211211
<li class="r-Grid-cell r-minS--1of2">
212-
<a href="/features/#custom-properties-var">custom properties & <code>var()</code></a>
212+
<a href="/features/#custom-properties-var">custom properties &amp; <code>var()</code></a>
213+
</li>
214+
<li class="r-Grid-cell r-minS--1of2">
215+
<a href="/features/#custom-properties-set-apply">custom properties set &amp; <code>@apply</code></a>
213216
</li>
214217
<li class="r-Grid-cell r-minS--1of2">
215218
<a href="/features/#reduced-calc">reduced <code>calc()</code></a>
@@ -540,5 +543,5 @@ <h3 class="cssnext-Section-title">It's fast. Lightning fast.</h3>
540543
</linearGradient>
541544
<path fill="url(#SVGID_12_)" d="M255.475,13.569l-4.391,21.613h-0.932l4.373-21.613H255.475z"/>
542545
</g>
543-
</svg></span> is brought to you by <a href="https://twitter.com/MoOx">@MoOx</a> &amp; <a href="https://github.com/MoOx/postcss-cssnext/graphs/contributors">some other contributors</a>.</p><small><a href="/it-s-cssnext-not-CSSNext">Note: it&#x27;s cssnext, not CSSNext</a><span style="opacity:.4;margin-left:1rem;"><a href="/credits">Credits</a> | <a href="https://github.com/MoOx/postcss-cssnext/edit/master/docs/content/index.md">Edit this page</a></span></small></footer><script src="/index.js?6139be442f66fae29934"></script><script>
546+
</svg></span> is brought to you by <a href="https://twitter.com/MoOx">@MoOx</a> &amp; <a href="https://github.com/MoOx/postcss-cssnext/graphs/contributors">some other contributors</a>.</p><small><a href="/it-s-cssnext-not-CSSNext">Note: it&#x27;s cssnext, not CSSNext</a><span style="opacity:.4;margin-left:1rem;"><a href="/credits">Credits</a> | <a href="https://github.com/MoOx/postcss-cssnext/edit/master/docs/content/index.md">Edit this page</a></span></small></footer><script src="/index.js?4d0b817adac9cac909e8"></script><script>
544547
!function(c,s,S,n,e,x,t){c.GoogleAnalyticsObject=S;c[S]||(c[S]=function(){(c[S].q=c[S].q||[]).push(arguments)});c[S].l=+new Date;x=s.createElement(n);t=s.getElementsByTagName(n)[0];x.src=e;t.parentNode.insertBefore(x,t)}(window,document,'ga','script','//www.google-analytics.com/analytics.js');ga('create','UA-55403963-1','auto');ga('send','pageview');</script></body></html>

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)