@@ -318,16 +318,18 @@ <h1>j2c-plugin-prefix-browser in action in your browser</h1>
318
318
// The code runs live, feel free to edit it!
319
319
j2c.sheet({'@global':{
320
320
'.download': {
321
+ animation: 'rotate',
322
+ backgroundClip: 'text',
321
323
backgroundImage: 'linear-gradient(5deg, red, rgba(125,0,0,.3))',
322
- color: 'white',
323
- textDecoration: 'initial',
324
- textShadow: '.08em .08em .2em rgba(calc(2 * 2),0,0,.6)',
325
324
borderRadius: '50%',
326
325
boxShadow: '.1em .2em .4em -.2em black',
327
326
boxSizing: 'border-box',
328
- transform: 'rotate(15deg)',
329
- animation: 'rotate',
330
- cursor: 'zoom-in'
327
+ color: 'white',
328
+ cursor: 'zoom-in',
329
+ display: 'grid',
330
+ textDecoration: 'initial',
331
+ textShadow: '.08em .08em .2em rgba(calc(2 * 2),0,0,.6)',
332
+ transform: 'rotate(15deg)'
331
333
},
332
334
'@keyframes rotate': {
333
335
'from': {
@@ -339,18 +341,21 @@ <h1>j2c-plugin-prefix-browser in action in your browser</h1>
339
341
},
340
342
'@supports (display:flex)':{
341
343
':read-write ::placeholder': {
342
- userSelect: 'none',
343
344
appearance: 'none',
345
+ backgroundClip: 'border-box',
344
346
display: 'flex',
345
347
flex: '1 1',
346
- flexFlow: 'column-reverse wrap'
348
+ flexFlow: 'column-reverse wrap',
349
+ textFillColor: 'transparent',
350
+ userSelect: 'none'
347
351
},
348
352
},
349
353
'@media (min-resolution:2dppx)' : {
350
354
'header': {
351
355
backgroundImage: 'url(hires.jpg)'
352
356
}
353
- }
357
+ },
358
+ '@viewport': {}
354
359
}})</ textarea >
355
360
< textarea id ="sheetArea "> </ textarea >
356
361
< script >
0 commit comments