| 1 |
* {all: unset; } |
| 2 |
|
| 3 |
window { |
| 4 |
background: lime; |
| 5 |
} |
| 6 |
|
| 7 |
box { |
| 8 |
background-color: red; |
| 9 |
background-image: linear-gradient(yellow, yellow), linear-gradient(white, white); |
| 10 |
background-clip: border-box, content-box; |
| 11 |
background-size: 50% 100%, 100% 50%; |
| 12 |
background-repeat: no-repeat; |
| 13 |
background-blend-mode: multiply; |
| 14 |
padding: 10px; |
| 15 |
border: 1px solid blue; |
| 16 |
} |
| 17 |
|
| 18 |
window#reference box { |
| 19 |
background-image: linear-gradient(red,red), linear-gradient(yellow, yellow); |
| 20 |
background-clip: content-box, border-box; |
| 21 |
background-size: 100% 100%, 50% 100%; |
| 22 |
background-color: transparent; |
| 23 |
background-blend-mode: normal; |
| 24 |
} |