Some Extremely Handy `:nth-child` Recipes as Sass Mixins
May 17, 2017There 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 :nth-child and :nth-last-child, you can get some surprisingly compl...
Recent Comments