Skip to content

Instantly share code, notes, and snippets.

@crazymykl
Created May 12, 2015 00:06
Show Gist options
  • Save crazymykl/8a36741ee2a2c0294479 to your computer and use it in GitHub Desktop.
Save crazymykl/8a36741ee2a2c0294479 to your computer and use it in GitHub Desktop.
zGreLb
- 100.times do
%p/
p {
counter-increment: fizzbuzz;
}
p::before {
content: counter(fizzbuzz);
}
p:nth-child(3n)::before {
content: 'Fizz';
}
p:nth-child(5n)::before {
content: 'Buzz';
}
p:nth-child(15n)::before {
content: 'FizzBuzz';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment