mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
9be26ee99a
nth-child() is 1-indexed, not 0-indexed. It doesn't matter for this test really, but better do it right to not confuse poor developers who wonder why the first image is highlighted when nth-child(0) clearly states "none".
12 lines
168 B
CSS
12 lines
168 B
CSS
GtkBox > :nth-child(1) {
|
|
-gtk-image-effect: none;
|
|
}
|
|
|
|
GtkBox > :nth-child(2) {
|
|
-gtk-image-effect: highlight;
|
|
}
|
|
|
|
GtkBox > :nth-child(3) {
|
|
-gtk-image-effect: dim;
|
|
}
|