mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 09:40:19 +00:00
fd6b3ef5a0
Add another helper similar to the one for transforms, but that only works on 2d transforms. Fixes #4501
14 lines
251 B
Plaintext
14 lines
251 B
Plaintext
clip {
|
|
clip: 0 -25 50 50;
|
|
child: transform {
|
|
transform: perspective(100) rotateY(45);
|
|
child: linear-gradient {
|
|
bounds: 0 -100 200 200;
|
|
start: 0 -100;
|
|
end: 0 100;
|
|
stops: 0.5 red,
|
|
0.5 lime;
|
|
}
|
|
}
|
|
}
|