Comment Comment by jontro This should also work:div:nth-child(3n):after { content: ""; }div:nth-child(3n):before { content: "fizz"; }div:nth-child(5n):after { content: "buzz"; } parent jontro 14 years ago
div:nth-child(3n):after { content: ""; }
div:nth-child(3n):before { content: "fizz"; }
div:nth-child(5n):after { content: "buzz"; }