Archive for the ‘nth-child’ Category

Some Extremely Handy `:nth-child` Recipes as Sass Mixins

There is no such thing as one-size-fits-all styling. An image gallery with three images might need to be styled differently than an image gallery with twelve. There are some cool tricks that you can use to add some number-based logic to your CSS! Using...

Cicada Principle and CSS

Posted on: No Comments
Charlotte Jackson uses this classic clever technique to pseudo randomize border-radius, making irregular circles for a photo grid. A cicada is a rather grim looking little bug. You may have heard of them. There is a kind called the Periodical Cicada, w...