blob: 74f37a92a0076cfd531d6c8782f253b39c7b0a51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
.foo > li:nth-last-child(n+4), .foo > li:nth-last-child(n+4) ~ li {
content: 'test';
}
.bar > li:nth-last-child(-n+4):first-child, .bar > li:nth-last-child(-n+4):first-child ~ li {
content: 'test';
}
.baz > li:nth-last-child(n+4):nth-last-child(-n+6):first-child, .baz > li:nth-last-child(n+4):nth-last-child(-n+6):first-child ~ li {
content: 'test';
}
.fab > li:nth-last-child(4):first-child, .fab > li:nth-last-child(4):first-child ~ li {
content: 'test';
}
|