Tagged “trick”
-
Hiding side content in responsive design
A trick to hide content in specific responsive layout patterns without the need for media queries. But with a few gotchas. -
Use the child-element count in CSS
A little CSS trick to get a count of child elements on your parent selector. -
A nth-child CSS trick
A little CSS trick that allows you to use nth-child values in the CSS calc() function. -
An ode to the CSS owl selector
One off the most beautiful CSS selectors is the Lobotomized Owl Selector of Heydon Pickering