Fizz Buzz in CSS

Susam Pal shows how to solve Fizz Buzz in CSS:

li { counter-increment: n }
li:not(:nth-child(5n))::before { content: counter(n) }
li:nth-child(3n)::before { content: "Fizz" }
li:nth-child(5n)::after { content: "Buzz" }

(via)