Back to Serenity

:nth

Base/res/html/misc/nth-last-child.html

latest879 B
Original Source

:nth-last-child(odd)

1

2 +

3

4 +

:nth-last-child(2n+1) - same as odd

1

2 +

3

4 +

:nth-last-child(even)

1 +

2

3 +

4

:nth-last-child(2n) - same as even

1 +

2

3 +

4

:nth-last-child(2)

1

2 +

3

:nth-last-child(3n)

1 +

2

3

4 +

5

6

:nth-last-child(3n+1)

1

2

3 +

4

5

6 +

:nth-last-child(3n-1)

1

2 +

3

4

5 +

6

:nth-last-child(-n+3)

1

2 +

3 +

4 +

:nth-last-child(n)

1 +

2 +

3 +

:nth-last-child(-n) - same as n

1 +

2 +

3 +

:nth-last-child(+n) - same as n

1 +

2 +

3 +

:nth-last-child(0n+1)

1

2

3 +

:nth-last-child(n+2):nth-last-child(-n+3)

1

2

3 +

4 +

5

:nth-last-child(-5n+3) - Acid3

1

2

3

4

5

6

7

8

9

10

11

12

13 +

14

15

:nth-last-child(3n+1 of .special)

1

2

(Ignored)

3 +

(Ignored)

4

(Ignored)

(Ignored)

5

6 +