2011-05-25 21:52:48 +00:00
|
|
|
* {
|
|
|
|
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) {
|
2012-11-13 20:41:08 +00:00
|
|
|
background-color: lime;
|
2011-05-25 21:52:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2012-11-13 20:41:08 +00:00
|
|
|
#lime {
|
|
|
|
background-color: lime;
|
2011-05-25 21:52:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#purple {
|
|
|
|
background-color: purple;
|
|
|
|
}
|
|
|
|
|
|
|
|
#yellow {
|
|
|
|
background-color: yellow;
|
|
|
|
}
|
|
|
|
|
|
|
|
#blue {
|
|
|
|
background-color: blue;
|
|
|
|
}
|