mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 17:50:18 +00:00
20 lines
405 B
Plaintext
20 lines
405 B
Plaintext
|
transform {
|
||
|
/* adding the perspective line here turns the matrix from a 2D
|
||
|
category into a 3D category. It does not have any visual effect. */
|
||
|
transform: perspective(200) scale(2);
|
||
|
child: container {
|
||
|
color {
|
||
|
bounds: 0 0 50 50;
|
||
|
color: transparent;
|
||
|
}
|
||
|
|
||
|
clip {
|
||
|
clip: 10 10 30 30;
|
||
|
child: color {
|
||
|
bounds: 0 0 50 50;
|
||
|
color: red;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|