mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
51 lines
646 B
CSS
51 lines
646 B
CSS
* {
|
|
engine: none;
|
|
background-image: none;
|
|
}
|
|
|
|
.button:nth-child(even) {
|
|
background-color: yellow;
|
|
}
|
|
|
|
.button:nth-child(odd) {
|
|
background-color: red;
|
|
}
|
|
|
|
.button:nth-child(first) {
|
|
background-color: purple;
|
|
}
|
|
|
|
.button:nth-child(last):nth-child(even) {
|
|
background-color: green;
|
|
}
|
|
|
|
.button:nth-child(last):nth-child(odd) {
|
|
background-color: purple;
|
|
}
|
|
|
|
.button:nth-child(last):nth-child(first) {
|
|
background-color: blue;
|
|
}
|
|
|
|
/* for reference */
|
|
|
|
#red {
|
|
background-color: red;
|
|
}
|
|
|
|
#green {
|
|
background-color: green;
|
|
}
|
|
|
|
#purple {
|
|
background-color: purple;
|
|
}
|
|
|
|
#yellow {
|
|
background-color: yellow;
|
|
}
|
|
|
|
#blue {
|
|
background-color: blue;
|
|
}
|