Primes.css

Shu,
Back

This example combines the counter and nth-of-type features in CSS:

See the Pen Primes by Shu Ding (@shuding) on CodePen.

One potential use case is to generate some pseudo-random patterns.


Twitter · GitHub · Instagram · g@shud.inCC BY-NC 4.0 © Shu Ding.RSS