Learning_GTK4_tree/testsuite/reftests/background-blend-mode-clip-...

25 lines
615 B
CSS
Raw Permalink Normal View History

2023-12-12 11:36:42 +01:00
* {all: unset; }
window {
background: lime;
}
box {
background-color: red;
background-image: linear-gradient(yellow, yellow), linear-gradient(white, white);
background-clip: border-box, content-box;
background-size: 50% 100%, 100% 50%;
background-repeat: no-repeat;
background-blend-mode: multiply;
padding: 10px;
border: 1px solid blue;
}
window#reference box {
background-image: linear-gradient(red,red), linear-gradient(yellow, yellow);
background-clip: content-box, border-box;
background-size: 100% 100%, 50% 100%;
background-color: transparent;
background-blend-mode: normal;
}