const cssNestingObj = {
'.button-wrapper': {
'--primary-color-default': '#123',
'--info-color-default': '#233',
display: 'flex',
'> .button-a': {
transform: 'sacle(1.5)',
},
'.button-a': {
transform: 'sacle(1.5)',
'.button-b': {
backgroundBlendMode: 'darken',
'+ .button-c': {
backgroundBlendMode: 'var(--info-color-default)',
},
},
},
'&:hover': {
color: '#123',
},
'&:hover div': {
color: '#123',
},
'&::before': {
content: '""',
},
'> .button-c': {
color: '#123',
},
},
'.button-wrapper2': {
'--primary-color-default': '#123',
'--info-color-default': '#233',
display: 'flex',
'> .button-a': {
transform: 'sacle(1.5)',
},
'.button-a': {
transform: 'sacle(1.5)',
'--primary-color': '#442',
'--info-color': '#334',
'.button-b': {
backgroundBlendMode: 'darken',
'+ .button-b': {
backgroundBlendMode: '#726',
},
},
},
'&:hover': {
color: '#123',
},
'&:hover div': {
color: '#123',
},
'&::before': {
content: '""',
},
'> .button-c': {
color: '#123',
},
},
}Initializing...
| Test Case | Ops/sec | |
|---|---|---|
| v1 | | ready |
| v2 | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.