-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·430 lines (389 loc) · 30.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
<!doctype html><html lang="fr" class="r-VerticalRhythm"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=Edge"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="icon" type="image/png" href="/favicon.png"/><title>cssnext Playground</title><link rel="stylesheet" href="/index.css"/><link rel="alternate" href="/feed.xml" title="cssnext Playground" type="application/atom+xml"/></head><body class="cssnext-Body"><header class="cssnext-Header js-Headroom"><div style="background:#000;color:#fff;text-align:center;"><a href="https://moox.io/blog/deprecating-cssnext/"><code>postcss-cssnext</code> has been deprecated in favor of <code>postcss-preset-env</code>. Read more.</a></div><div class="r-Grid"><div class="r-Grid-cell r-minM--4of6"><span class="cssnext-Header-nav"><a class="cssnext-Header-logo" href="/"><span class="SVGInline SVGInline--cleaned cssnext-Header-logo-img"><?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg class="SVGInline-svg SVGInline--cleaned-svg cssnext-Header-logo-img-svg" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 256 48.102" enable-background="new 0 0 256 48.102" xml:space="preserve">
<g>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="14.688" y1="740.7053" x2="14.688" y2="788.7076" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M15.143,16.166c-1.305,0-2.4,0.298-3.279,0.894c-0.886,0.596-1.608,1.362-2.162,2.302
c-0.558,0.944-0.952,1.98-1.182,3.112c-0.229,1.137-0.344,2.252-0.344,3.371c0,1.068,0.115,2.166,0.344,3.275
c0.229,1.121,0.605,2.129,1.123,3.029c0.523,0.904,1.222,1.641,2.102,2.217c0.884,0.577,1.959,0.862,3.23,0.862
c1.954,0,3.462-0.548,4.521-1.64c1.053-1.099,1.718-2.564,1.988-4.407h7.892c-0.541,3.952-2.075,6.965-4.608,9.042
c-2.538,2.071-5.78,3.106-9.738,3.106c-2.227,0-4.272-0.37-6.133-1.12c-1.864-0.745-3.451-1.795-4.753-3.142
c-1.302-1.345-2.323-2.947-3.05-4.808C0.361,30.402,0,28.359,0,26.125c0-2.301,0.335-4.441,1.008-6.42
c0.671-1.979,1.66-3.685,2.968-5.128c1.304-1.443,2.897-2.559,4.776-3.371c1.882-0.806,4.036-1.209,6.453-1.209
c1.766,0,3.464,0.235,5.098,0.694c1.63,0.457,3.091,1.161,4.377,2.1c1.285,0.941,2.332,2.114,3.139,3.516
c0.807,1.4,1.269,3.061,1.383,4.982h-8.007C20.653,17.875,18.638,16.166,15.143,16.166z"/>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="46.3359" y1="740.7063" x2="46.3359" y2="788.7085" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_2_)" d="M40.864,33.187c0.361,0.637,0.834,1.152,1.411,1.556c0.574,0.403,1.238,0.704,1.988,0.896
c0.748,0.188,1.525,0.281,2.332,0.281c0.577,0,1.182-0.062,1.813-0.201c0.636-0.131,1.21-0.343,1.73-0.633
c0.52-0.286,0.952-0.671,1.296-1.153c0.347-0.474,0.518-1.078,0.518-1.814c0-1.228-0.815-2.146-2.449-2.761
c-1.631-0.614-3.907-1.233-6.825-1.847c-1.19-0.265-2.353-0.587-3.485-0.948c-1.134-0.365-2.143-0.849-3.023-1.443
c-0.884-0.596-1.594-1.341-2.133-2.245c-0.539-0.901-0.807-2.005-0.807-3.312c0-1.918,0.374-3.495,1.123-4.722
c0.75-1.229,1.74-2.198,2.968-2.911c1.228-0.708,2.609-1.209,4.148-1.496c1.536-0.291,3.11-0.438,4.723-0.438
c1.611,0,3.178,0.155,4.695,0.461c1.517,0.308,2.871,0.827,4.059,1.555s2.178,1.697,2.964,2.906
c0.788,1.208,1.259,2.739,1.413,4.58h-7.776c-0.114-1.574-0.712-2.64-1.783-3.197c-1.076-0.553-2.347-0.834-3.802-0.834
c-0.462,0-0.961,0.027-1.498,0.083c-0.541,0.061-1.031,0.183-1.47,0.375c-0.44,0.191-0.815,0.473-1.123,0.836
s-0.462,0.855-0.462,1.47c0,0.729,0.27,1.324,0.806,1.787c0.539,0.457,1.242,0.834,2.102,1.121c0.865,0.292,1.854,0.55,2.967,0.778
c1.114,0.229,2.248,0.483,3.399,0.748c1.19,0.266,2.35,0.597,3.484,0.981c1.132,0.38,2.141,0.891,3.024,1.521
c0.883,0.64,1.594,1.427,2.132,2.358c0.539,0.947,0.807,2.11,0.807,3.488c0,1.959-0.396,3.6-1.182,4.927
c-0.785,1.327-1.814,2.387-3.08,3.197c-1.269,0.807-2.718,1.369-4.35,1.701c-1.631,0.323-3.293,0.482-4.981,0.482
c-1.729,0-3.419-0.168-5.067-0.516c-1.653-0.349-3.121-0.924-4.407-1.729c-1.287-0.807-2.346-1.87-3.169-3.196
c-0.825-1.322-1.277-2.986-1.352-4.983h7.774C40.313,31.799,40.499,32.554,40.864,33.187z"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="77.269" y1="740.7063" x2="77.269" y2="788.7085" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_3_)" d="M71.794,33.187c0.361,0.637,0.834,1.152,1.411,1.556s1.238,0.704,1.987,0.896
c0.748,0.188,1.525,0.281,2.332,0.281c0.577,0,1.182-0.062,1.814-0.201c0.638-0.131,1.209-0.343,1.732-0.633
c0.518-0.286,0.949-0.671,1.296-1.153c0.344-0.474,0.518-1.078,0.518-1.814c0-1.228-0.815-2.146-2.452-2.761
c-1.631-0.614-3.907-1.233-6.825-1.847c-1.19-0.265-2.353-0.587-3.484-0.948c-1.133-0.365-2.141-0.849-3.024-1.443
c-0.884-0.596-1.594-1.341-2.13-2.245c-0.541-0.901-0.807-2.005-0.807-3.312c0-1.918,0.37-3.495,1.123-4.722
c0.748-1.229,1.737-2.198,2.965-2.911c1.23-0.708,2.611-1.209,4.148-1.496c1.535-0.291,3.111-0.438,4.722-0.438
c1.612,0,3.179,0.155,4.695,0.461c1.516,0.308,2.871,0.827,4.062,1.555c1.188,0.728,2.177,1.697,2.962,2.906
c0.788,1.208,1.259,2.739,1.413,4.58h-7.774c-0.115-1.574-0.712-2.64-1.787-3.197c-1.075-0.553-2.346-0.834-3.801-0.834
c-0.462,0-0.961,0.027-1.498,0.083c-0.539,0.061-1.029,0.183-1.47,0.375c-0.438,0.191-0.816,0.473-1.123,0.836
c-0.308,0.363-0.461,0.855-0.461,1.47c0,0.729,0.269,1.324,0.806,1.787c0.541,0.457,1.243,0.834,2.103,1.121
c0.866,0.292,1.855,0.55,2.967,0.778c1.114,0.229,2.25,0.483,3.399,0.748c1.19,0.266,2.353,0.597,3.484,0.981
c1.132,0.38,2.141,0.891,3.024,1.521c0.883,0.64,1.593,1.427,2.135,2.358c0.537,0.947,0.807,2.11,0.807,3.488
c0,1.959-0.396,3.6-1.182,4.927c-0.788,1.327-1.814,2.387-3.082,3.197c-1.269,0.807-2.717,1.369-4.35,1.701
c-1.632,0.323-3.293,0.482-4.979,0.482c-1.731,0-3.422-0.168-5.069-0.516c-1.653-0.349-3.12-0.924-4.407-1.729
c-1.288-0.807-2.346-1.87-3.169-3.196c-0.825-1.322-1.277-2.986-1.35-4.983h7.772C71.245,31.799,71.427,32.554,71.794,33.187z"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="107.0151" y1="740.7053" x2="107.0151" y2="788.7094" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_4_)" d="M103.443,10.809l-0.921,4.495h0.115c1.23-1.729,2.784-3.023,4.666-3.886
c1.88-0.867,3.858-1.299,5.932-1.299c2.804,0,4.886,0.614,6.251,1.844c1.359,1.231,2.044,3.168,2.044,5.821
c0,0.651-0.078,1.496-0.229,2.532c-0.155,1.038-0.366,2.135-0.638,3.286l-3.629,16.991h-4.896l3.802-17.396
c0.04-0.31,0.096-0.665,0.173-1.067c0.075-0.404,0.153-0.826,0.229-1.264c0.08-0.438,0.148-0.865,0.202-1.269
c0.059-0.402,0.086-0.739,0.086-1.007c0-1.42-0.499-2.467-1.497-3.139c-0.998-0.673-2.226-1.009-3.686-1.009
c-1.343,0-2.677,0.327-4.004,0.979c-1.325,0.65-2.447,1.476-3.368,2.474c-0.883,0.77-1.575,1.702-2.072,2.795
c-0.499,1.096-0.902,2.234-1.209,3.425l-3.457,16.478H92.5l6.22-29.779h4.722L103.443,10.809L103.443,10.809z"/>
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="139.3008" y1="740.7053" x2="139.3008" y2="788.7114" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_5_)" d="M130.23,29.761c0,1.146,0.211,2.179,0.633,3.084c0.424,0.898,0.998,1.649,1.729,2.246
c0.729,0.595,1.555,1.054,2.477,1.383c0.922,0.323,1.881,0.487,2.879,0.487c2.188,0,3.992-0.487,5.414-1.467
c1.423-0.979,2.478-2.392,3.168-4.232h4.896c-0.384,1.647-1,3.098-1.844,4.344c-0.847,1.252-1.863,2.288-3.052,3.113
c-1.189,0.83-2.518,1.448-3.975,1.871c-1.459,0.421-2.994,0.638-4.607,0.638c-2.456,0-4.504-0.376-6.135-1.125
c-1.633-0.749-2.93-1.706-3.888-2.878c-0.961-1.171-1.634-2.456-2.016-3.863c-0.384-1.396-0.577-2.751-0.577-4.059
c0-2.843,0.413-5.443,1.24-7.806c0.826-2.359,1.94-4.387,3.342-6.073c1.398-1.693,3.031-2.995,4.896-3.919
c1.857-0.92,3.809-1.385,5.846-1.385c4.378,0,7.574,1.153,9.59,3.46c2.018,2.303,3.023,5.545,3.023,9.729
c0,0.769-0.054,1.5-0.17,2.188c-0.115,0.693-0.211,1.251-0.287,1.673h-22.408C130.289,28.016,130.23,28.877,130.23,29.761z
M148.174,19.767c-0.21-1.018-0.595-1.919-1.148-2.707c-0.557-0.788-1.297-1.42-2.221-1.903c-0.921-0.478-2.054-0.716-3.4-0.716
c-1.418,0-2.695,0.221-3.826,0.659c-1.135,0.439-2.125,1.048-2.969,1.814c-0.844,0.77-1.555,1.662-2.131,2.682
c-0.578,1.018-1.039,2.1-1.385,3.253h17.281C148.451,21.81,148.385,20.783,148.174,19.767z"/>
<linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="168.0459" y1="740.7073" x2="168.0459" y2="788.7106" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_6_)" d="M159.204,10.809h5.646l4.493,10.833l8.868-10.833h5.936l-12.789,14.398l7.604,15.382h-5.586
l-5.416-12.212l-10.14,12.212h-5.875l13.882-15.784L159.204,10.809z"/>
<linearGradient id="SVGID_7_" gradientUnits="userSpaceOnUse" x1="193.6748" y1="740.7043" x2="193.6748" y2="788.7076" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_7_)" d="M202.059,10.809l-0.927,4.322H195.2l-3.687,17.512c-0.039,0.347-0.078,0.67-0.115,0.979
c-0.039,0.306-0.061,0.632-0.061,0.976c0,0.769,0.299,1.298,0.895,1.584c0.596,0.291,1.277,0.437,2.05,0.437
c0.499,0,0.977-0.053,1.438-0.146c0.461-0.1,0.92-0.222,1.381-0.375l-0.863,4.491c-0.574,0.079-1.148,0.146-1.727,0.201
c-0.58,0.061-1.15,0.088-1.729,0.088c-0.921,0-1.785-0.068-2.593-0.2c-0.807-0.137-1.506-0.385-2.104-0.75
c-0.595-0.361-1.076-0.854-1.438-1.468c-0.365-0.612-0.553-1.4-0.553-2.361c0-0.422,0.028-0.825,0.088-1.209
c0.057-0.384,0.125-0.807,0.201-1.267l3.918-18.491h-5.012l0.922-4.317h5.012L193.07,2h4.896l-1.848,8.813h5.938v-0.005H202.059z"
/>
</g>
<g>
<linearGradient id="SVGID_8_" gradientUnits="userSpaceOnUse" x1="225.5234" y1="742.9016" x2="225.5234" y2="790.9006" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_8_)" d="M231.709,3.111c-0.966,0-1.727,0.47-2.275,1.421c-0.551,0.946-0.933,1.991-1.139,3.126l-1.914,9.359
c-0.277,1.212-0.682,2.239-1.217,3.085c-0.539,0.841-1.096,1.536-1.68,2.066c-0.59,0.535-1.166,0.947-1.735,1.242
c-0.565,0.291-1.013,0.474-1.319,0.546l-0.049,0.147c0.242,0.04,0.549,0.144,0.93,0.314c0.379,0.168,0.75,0.455,1.114,0.852
c0.361,0.395,0.673,0.896,0.931,1.5c0.258,0.604,0.388,1.369,0.388,2.301c0,0.311-0.033,0.619-0.103,0.93
c-0.072,0.312-0.14,0.656-0.207,1.04l-1.914,9.31c-0.104,0.591-0.153,1.168-0.153,1.758c0,0.793,0.104,1.453,0.311,1.992
c0.208,0.535,0.671,0.798,1.397,0.798h2.587l-0.672,3.104h-3.621c-0.521,0-1.045-0.104-1.577-0.311
c-0.539-0.207-1.009-0.497-1.424-0.877c-0.418-0.374-0.749-0.861-1.01-1.446c-0.258-0.592-0.387-1.263-0.387-2.017
c0-0.313,0.016-0.651,0.049-1.014c0.033-0.359,0.086-0.73,0.156-1.11l1.963-9.359c0.067-0.382,0.121-0.75,0.154-1.116
c0.031-0.361,0.048-0.693,0.048-1.008c0-1.205-0.317-2.161-0.954-2.869c-0.637-0.707-1.408-1.063-2.302-1.063l0.774-3.516
c0.55,0,1.111-0.146,1.68-0.439c0.568-0.292,1.105-0.693,1.604-1.214c0.498-0.517,0.951-1.152,1.349-1.913
c0.396-0.762,0.696-1.603,0.903-2.536l1.965-9.418c0.207-1.101,0.57-2.071,1.086-2.922c0.518-0.841,1.104-1.55,1.76-2.117
c0.652-0.568,1.344-1.003,2.07-1.293c0.724-0.292,1.412-0.439,2.063-0.439h3.624l-0.671,3.103h-2.583V3.111L231.709,3.111z"/>
<linearGradient id="SVGID_9_" gradientUnits="userSpaceOnUse" x1="234.8008" y1="742.8987" x2="234.8008" y2="790.9018" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_9_)" d="M239.591,8.576l-6.139,31.602h-3.442l6.133-31.602H239.591z"/>
<linearGradient id="SVGID_10_" gradientUnits="userSpaceOnUse" x1="241.5293" y1="742.8977" x2="241.5293" y2="790.9018" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_10_)" d="M245.541,10.341l-5.562,28.065h-2.461l5.584-28.065H245.541L245.541,10.341z"/>
<linearGradient id="SVGID_11_" gradientUnits="userSpaceOnUse" x1="247.7324" y1="742.8987" x2="247.7324" y2="790.902" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_11_)" d="M251.053,11.661l-4.968,25.423h-1.673l4.974-25.423H251.053z"/>
<linearGradient id="SVGID_12_" gradientUnits="userSpaceOnUse" x1="252.8135" y1="742.8997" x2="252.8135" y2="790.9009" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_12_)" d="M255.475,13.569l-4.391,21.613h-0.932l4.373-21.613H255.475z"/>
</g>
</svg></span><span class="cssnext-Header-version">3.1.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="js-cssnext-Playground cssnext-Playground"><div class="cssnext-Playground-container">
<div class="cssnext-Playground-section cssnext-Playground-section--from">
<textarea class="js-cssnext-Playground-from cssnext-Playground-code cssnext-Playground-code--from" spellcheck="false">
/* custom properties */
:root {
--fontSize: 1rem;
--mainColor: #12345678;
--highlightColor: hwb(190, 35%, 20%);
}
/* custom properties set & @apply rule */
:root {
--centered: {
display: flex;
align-items: center;
justify-content: center;
};
}
.centered {
@apply --centered;
}
/* custom media queries */
@custom-media --viewport-medium (width <= 50rem);
/* some var() & calc() */
body {
color: var(--mainColor);
font-size: var(--fontSize);
line-height: calc(var(--fontSize) * 1.5);
padding: calc((var(--fontSize) / 2) + 1px);
}
/* custom media query usage */
@media (--viewport-medium) {
body { font-size: calc(var(--fontSize) * 1.2); }
}
/* custom selectors */
@custom-selector :--heading h1, h2, h3, h4, h5, h6;
:--heading { margin-top: 0 }
/* image-set function */
.foo {
background-image:
image-set(
url(img/test.png) 1x,
url(img/test-2x.png) 2x
);
}
/* colors stuff */
a {
color: var(--highlightColor);
transition: color 1s; /* autoprefixed ! */
}
a:hover { color: gray(255, 50%) }
a:active { color: rebeccapurple }
a:focus { background-color: rgb(255 153 0 / 33%); outline: 3px solid hsl(1turn 60% 50%); }
a:any-link { color: color(var(--highlightColor) blackness(+20%)) }
/* font stuff */
h2 {
font-variant-caps: small-caps;
}
table {
font-variant-numeric: lining-nums;
}
/* filters */
.blur {
filter: blur(4px);
}
.sepia {
filter: sepia(.8);
}
/* overflow-wrap fallback */
body {
overflow-wrap: break-word;
}
/* attribute case insensitive */
[frame=hsides i] {
border-style: solid none;
}
/* system-ui font-family */
body {
font-family: system-ui;
}
</textarea>
</div>
<div class="cssnext-Playground-section cssnext-Playground-section--to">
<textarea class="js-cssnext-Playground-to cssnext-Playground-code cssnext-Playground-code--to" spellcheck="false"></textarea>
</div>
</div>
<div class="js-cssnext-Playground-messages cssnext-Playground-messages"></div>
<div class="js-cssnext-Playground-console cssnext-Playground-console"></div>
</div><footer class="cssnext-Footer"><p><span class="SVGInline cssnext-Header-logo-img"><?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg class="SVGInline-svg cssnext-Header-logo-img-svg" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="256px" height="48.102px" viewBox="0 0 256 48.102" enable-background="new 0 0 256 48.102" xml:space="preserve">
<g>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="14.688" y1="740.7053" x2="14.688" y2="788.7076" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_1_)" d="M15.143,16.166c-1.305,0-2.4,0.298-3.279,0.894c-0.886,0.596-1.608,1.362-2.162,2.302
c-0.558,0.944-0.952,1.98-1.182,3.112c-0.229,1.137-0.344,2.252-0.344,3.371c0,1.068,0.115,2.166,0.344,3.275
c0.229,1.121,0.605,2.129,1.123,3.029c0.523,0.904,1.222,1.641,2.102,2.217c0.884,0.577,1.959,0.862,3.23,0.862
c1.954,0,3.462-0.548,4.521-1.64c1.053-1.099,1.718-2.564,1.988-4.407h7.892c-0.541,3.952-2.075,6.965-4.608,9.042
c-2.538,2.071-5.78,3.106-9.738,3.106c-2.227,0-4.272-0.37-6.133-1.12c-1.864-0.745-3.451-1.795-4.753-3.142
c-1.302-1.345-2.323-2.947-3.05-4.808C0.361,30.402,0,28.359,0,26.125c0-2.301,0.335-4.441,1.008-6.42
c0.671-1.979,1.66-3.685,2.968-5.128c1.304-1.443,2.897-2.559,4.776-3.371c1.882-0.806,4.036-1.209,6.453-1.209
c1.766,0,3.464,0.235,5.098,0.694c1.63,0.457,3.091,1.161,4.377,2.1c1.285,0.941,2.332,2.114,3.139,3.516
c0.807,1.4,1.269,3.061,1.383,4.982h-8.007C20.653,17.875,18.638,16.166,15.143,16.166z"/>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="46.3359" y1="740.7063" x2="46.3359" y2="788.7085" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_2_)" d="M40.864,33.187c0.361,0.637,0.834,1.152,1.411,1.556c0.574,0.403,1.238,0.704,1.988,0.896
c0.748,0.188,1.525,0.281,2.332,0.281c0.577,0,1.182-0.062,1.813-0.201c0.636-0.131,1.21-0.343,1.73-0.633
c0.52-0.286,0.952-0.671,1.296-1.153c0.347-0.474,0.518-1.078,0.518-1.814c0-1.228-0.815-2.146-2.449-2.761
c-1.631-0.614-3.907-1.233-6.825-1.847c-1.19-0.265-2.353-0.587-3.485-0.948c-1.134-0.365-2.143-0.849-3.023-1.443
c-0.884-0.596-1.594-1.341-2.133-2.245c-0.539-0.901-0.807-2.005-0.807-3.312c0-1.918,0.374-3.495,1.123-4.722
c0.75-1.229,1.74-2.198,2.968-2.911c1.228-0.708,2.609-1.209,4.148-1.496c1.536-0.291,3.11-0.438,4.723-0.438
c1.611,0,3.178,0.155,4.695,0.461c1.517,0.308,2.871,0.827,4.059,1.555s2.178,1.697,2.964,2.906
c0.788,1.208,1.259,2.739,1.413,4.58h-7.776c-0.114-1.574-0.712-2.64-1.783-3.197c-1.076-0.553-2.347-0.834-3.802-0.834
c-0.462,0-0.961,0.027-1.498,0.083c-0.541,0.061-1.031,0.183-1.47,0.375c-0.44,0.191-0.815,0.473-1.123,0.836
s-0.462,0.855-0.462,1.47c0,0.729,0.27,1.324,0.806,1.787c0.539,0.457,1.242,0.834,2.102,1.121c0.865,0.292,1.854,0.55,2.967,0.778
c1.114,0.229,2.248,0.483,3.399,0.748c1.19,0.266,2.35,0.597,3.484,0.981c1.132,0.38,2.141,0.891,3.024,1.521
c0.883,0.64,1.594,1.427,2.132,2.358c0.539,0.947,0.807,2.11,0.807,3.488c0,1.959-0.396,3.6-1.182,4.927
c-0.785,1.327-1.814,2.387-3.08,3.197c-1.269,0.807-2.718,1.369-4.35,1.701c-1.631,0.323-3.293,0.482-4.981,0.482
c-1.729,0-3.419-0.168-5.067-0.516c-1.653-0.349-3.121-0.924-4.407-1.729c-1.287-0.807-2.346-1.87-3.169-3.196
c-0.825-1.322-1.277-2.986-1.352-4.983h7.774C40.313,31.799,40.499,32.554,40.864,33.187z"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="77.269" y1="740.7063" x2="77.269" y2="788.7085" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_3_)" d="M71.794,33.187c0.361,0.637,0.834,1.152,1.411,1.556s1.238,0.704,1.987,0.896
c0.748,0.188,1.525,0.281,2.332,0.281c0.577,0,1.182-0.062,1.814-0.201c0.638-0.131,1.209-0.343,1.732-0.633
c0.518-0.286,0.949-0.671,1.296-1.153c0.344-0.474,0.518-1.078,0.518-1.814c0-1.228-0.815-2.146-2.452-2.761
c-1.631-0.614-3.907-1.233-6.825-1.847c-1.19-0.265-2.353-0.587-3.484-0.948c-1.133-0.365-2.141-0.849-3.024-1.443
c-0.884-0.596-1.594-1.341-2.13-2.245c-0.541-0.901-0.807-2.005-0.807-3.312c0-1.918,0.37-3.495,1.123-4.722
c0.748-1.229,1.737-2.198,2.965-2.911c1.23-0.708,2.611-1.209,4.148-1.496c1.535-0.291,3.111-0.438,4.722-0.438
c1.612,0,3.179,0.155,4.695,0.461c1.516,0.308,2.871,0.827,4.062,1.555c1.188,0.728,2.177,1.697,2.962,2.906
c0.788,1.208,1.259,2.739,1.413,4.58h-7.774c-0.115-1.574-0.712-2.64-1.787-3.197c-1.075-0.553-2.346-0.834-3.801-0.834
c-0.462,0-0.961,0.027-1.498,0.083c-0.539,0.061-1.029,0.183-1.47,0.375c-0.438,0.191-0.816,0.473-1.123,0.836
c-0.308,0.363-0.461,0.855-0.461,1.47c0,0.729,0.269,1.324,0.806,1.787c0.541,0.457,1.243,0.834,2.103,1.121
c0.866,0.292,1.855,0.55,2.967,0.778c1.114,0.229,2.25,0.483,3.399,0.748c1.19,0.266,2.353,0.597,3.484,0.981
c1.132,0.38,2.141,0.891,3.024,1.521c0.883,0.64,1.593,1.427,2.135,2.358c0.537,0.947,0.807,2.11,0.807,3.488
c0,1.959-0.396,3.6-1.182,4.927c-0.788,1.327-1.814,2.387-3.082,3.197c-1.269,0.807-2.717,1.369-4.35,1.701
c-1.632,0.323-3.293,0.482-4.979,0.482c-1.731,0-3.422-0.168-5.069-0.516c-1.653-0.349-3.12-0.924-4.407-1.729
c-1.288-0.807-2.346-1.87-3.169-3.196c-0.825-1.322-1.277-2.986-1.35-4.983h7.772C71.245,31.799,71.427,32.554,71.794,33.187z"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="107.0151" y1="740.7053" x2="107.0151" y2="788.7094" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_4_)" d="M103.443,10.809l-0.921,4.495h0.115c1.23-1.729,2.784-3.023,4.666-3.886
c1.88-0.867,3.858-1.299,5.932-1.299c2.804,0,4.886,0.614,6.251,1.844c1.359,1.231,2.044,3.168,2.044,5.821
c0,0.651-0.078,1.496-0.229,2.532c-0.155,1.038-0.366,2.135-0.638,3.286l-3.629,16.991h-4.896l3.802-17.396
c0.04-0.31,0.096-0.665,0.173-1.067c0.075-0.404,0.153-0.826,0.229-1.264c0.08-0.438,0.148-0.865,0.202-1.269
c0.059-0.402,0.086-0.739,0.086-1.007c0-1.42-0.499-2.467-1.497-3.139c-0.998-0.673-2.226-1.009-3.686-1.009
c-1.343,0-2.677,0.327-4.004,0.979c-1.325,0.65-2.447,1.476-3.368,2.474c-0.883,0.77-1.575,1.702-2.072,2.795
c-0.499,1.096-0.902,2.234-1.209,3.425l-3.457,16.478H92.5l6.22-29.779h4.722L103.443,10.809L103.443,10.809z"/>
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="139.3008" y1="740.7053" x2="139.3008" y2="788.7114" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_5_)" d="M130.23,29.761c0,1.146,0.211,2.179,0.633,3.084c0.424,0.898,0.998,1.649,1.729,2.246
c0.729,0.595,1.555,1.054,2.477,1.383c0.922,0.323,1.881,0.487,2.879,0.487c2.188,0,3.992-0.487,5.414-1.467
c1.423-0.979,2.478-2.392,3.168-4.232h4.896c-0.384,1.647-1,3.098-1.844,4.344c-0.847,1.252-1.863,2.288-3.052,3.113
c-1.189,0.83-2.518,1.448-3.975,1.871c-1.459,0.421-2.994,0.638-4.607,0.638c-2.456,0-4.504-0.376-6.135-1.125
c-1.633-0.749-2.93-1.706-3.888-2.878c-0.961-1.171-1.634-2.456-2.016-3.863c-0.384-1.396-0.577-2.751-0.577-4.059
c0-2.843,0.413-5.443,1.24-7.806c0.826-2.359,1.94-4.387,3.342-6.073c1.398-1.693,3.031-2.995,4.896-3.919
c1.857-0.92,3.809-1.385,5.846-1.385c4.378,0,7.574,1.153,9.59,3.46c2.018,2.303,3.023,5.545,3.023,9.729
c0,0.769-0.054,1.5-0.17,2.188c-0.115,0.693-0.211,1.251-0.287,1.673h-22.408C130.289,28.016,130.23,28.877,130.23,29.761z
M148.174,19.767c-0.21-1.018-0.595-1.919-1.148-2.707c-0.557-0.788-1.297-1.42-2.221-1.903c-0.921-0.478-2.054-0.716-3.4-0.716
c-1.418,0-2.695,0.221-3.826,0.659c-1.135,0.439-2.125,1.048-2.969,1.814c-0.844,0.77-1.555,1.662-2.131,2.682
c-0.578,1.018-1.039,2.1-1.385,3.253h17.281C148.451,21.81,148.385,20.783,148.174,19.767z"/>
<linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="168.0459" y1="740.7073" x2="168.0459" y2="788.7106" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_6_)" d="M159.204,10.809h5.646l4.493,10.833l8.868-10.833h5.936l-12.789,14.398l7.604,15.382h-5.586
l-5.416-12.212l-10.14,12.212h-5.875l13.882-15.784L159.204,10.809z"/>
<linearGradient id="SVGID_7_" gradientUnits="userSpaceOnUse" x1="193.6748" y1="740.7043" x2="193.6748" y2="788.7076" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_7_)" d="M202.059,10.809l-0.927,4.322H195.2l-3.687,17.512c-0.039,0.347-0.078,0.67-0.115,0.979
c-0.039,0.306-0.061,0.632-0.061,0.976c0,0.769,0.299,1.298,0.895,1.584c0.596,0.291,1.277,0.437,2.05,0.437
c0.499,0,0.977-0.053,1.438-0.146c0.461-0.1,0.92-0.222,1.381-0.375l-0.863,4.491c-0.574,0.079-1.148,0.146-1.727,0.201
c-0.58,0.061-1.15,0.088-1.729,0.088c-0.921,0-1.785-0.068-2.593-0.2c-0.807-0.137-1.506-0.385-2.104-0.75
c-0.595-0.361-1.076-0.854-1.438-1.468c-0.365-0.612-0.553-1.4-0.553-2.361c0-0.422,0.028-0.825,0.088-1.209
c0.057-0.384,0.125-0.807,0.201-1.267l3.918-18.491h-5.012l0.922-4.317h5.012L193.07,2h4.896l-1.848,8.813h5.938v-0.005H202.059z"
/>
</g>
<g>
<linearGradient id="SVGID_8_" gradientUnits="userSpaceOnUse" x1="225.5234" y1="742.9016" x2="225.5234" y2="790.9006" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_8_)" d="M231.709,3.111c-0.966,0-1.727,0.47-2.275,1.421c-0.551,0.946-0.933,1.991-1.139,3.126l-1.914,9.359
c-0.277,1.212-0.682,2.239-1.217,3.085c-0.539,0.841-1.096,1.536-1.68,2.066c-0.59,0.535-1.166,0.947-1.735,1.242
c-0.565,0.291-1.013,0.474-1.319,0.546l-0.049,0.147c0.242,0.04,0.549,0.144,0.93,0.314c0.379,0.168,0.75,0.455,1.114,0.852
c0.361,0.395,0.673,0.896,0.931,1.5c0.258,0.604,0.388,1.369,0.388,2.301c0,0.311-0.033,0.619-0.103,0.93
c-0.072,0.312-0.14,0.656-0.207,1.04l-1.914,9.31c-0.104,0.591-0.153,1.168-0.153,1.758c0,0.793,0.104,1.453,0.311,1.992
c0.208,0.535,0.671,0.798,1.397,0.798h2.587l-0.672,3.104h-3.621c-0.521,0-1.045-0.104-1.577-0.311
c-0.539-0.207-1.009-0.497-1.424-0.877c-0.418-0.374-0.749-0.861-1.01-1.446c-0.258-0.592-0.387-1.263-0.387-2.017
c0-0.313,0.016-0.651,0.049-1.014c0.033-0.359,0.086-0.73,0.156-1.11l1.963-9.359c0.067-0.382,0.121-0.75,0.154-1.116
c0.031-0.361,0.048-0.693,0.048-1.008c0-1.205-0.317-2.161-0.954-2.869c-0.637-0.707-1.408-1.063-2.302-1.063l0.774-3.516
c0.55,0,1.111-0.146,1.68-0.439c0.568-0.292,1.105-0.693,1.604-1.214c0.498-0.517,0.951-1.152,1.349-1.913
c0.396-0.762,0.696-1.603,0.903-2.536l1.965-9.418c0.207-1.101,0.57-2.071,1.086-2.922c0.518-0.841,1.104-1.55,1.76-2.117
c0.652-0.568,1.344-1.003,2.07-1.293c0.724-0.292,1.412-0.439,2.063-0.439h3.624l-0.671,3.103h-2.583V3.111L231.709,3.111z"/>
<linearGradient id="SVGID_9_" gradientUnits="userSpaceOnUse" x1="234.8008" y1="742.8987" x2="234.8008" y2="790.9018" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_9_)" d="M239.591,8.576l-6.139,31.602h-3.442l6.133-31.602H239.591z"/>
<linearGradient id="SVGID_10_" gradientUnits="userSpaceOnUse" x1="241.5293" y1="742.8977" x2="241.5293" y2="790.9018" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_10_)" d="M245.541,10.341l-5.562,28.065h-2.461l5.584-28.065H245.541L245.541,10.341z"/>
<linearGradient id="SVGID_11_" gradientUnits="userSpaceOnUse" x1="247.7324" y1="742.8987" x2="247.7324" y2="790.902" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_11_)" d="M251.053,11.661l-4.968,25.423h-1.673l4.974-25.423H251.053z"/>
<linearGradient id="SVGID_12_" gradientUnits="userSpaceOnUse" x1="252.8135" y1="742.8997" x2="252.8135" y2="790.9009" gradientTransform="matrix(1 0 0 1 0 -742.8984)">
<stop offset="0" style="stop-color:#5B6FB5"/>
<stop offset="0.675" style="stop-color:#4F7DBF"/>
<stop offset="1" style="stop-color:#428BCA"/>
</linearGradient>
<path fill="url(#SVGID_12_)" d="M255.475,13.569l-4.391,21.613h-0.932l4.373-21.613H255.475z"/>
</g>
</svg></span> is brought to you by <a href="https://twitter.com/MoOx">@MoOx</a> & <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'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/playground.html">Edit this page</a></span></small></footer><script src="/playground.js?398f4984599f15c9a996"></script><script src="/index.js?398f4984599f15c9a996"></script></body></html>