26th Aug 2022
Specificity in CSS is calculated for each property by the complexity of the selector which applied the property. Which if you think about it, is the opposite of what we want for our code - we want our code to be simple.
Page 1 of 1
Specificity in CSS is calculated for each property by the complexity of the selector which applied the property. Which if you think about it, is the opposite of what we want for our code - we want our code to be simple.
Whilst CSS grid is still in it's relative infancy, and feature such as `grid-template-rows: masonry` are still waiting for cross browser support, we're able to create beautiful masonry-esque grid layouts which will make your most important content pop!