Skip to main content

The Cascade is a blog about the past, present, and future of CSS.

Howdy—Robin Rendle here.

This blog keeps me in the loop with everything that’s possible with CSS lately but it’s also a reminder to celebrate the people doing the hard work building stuff for the web.

You can subscribe to The Cascade via RSS, shoot me an email if you absolutely must, or follow the feed. This project is directly supported by readers and the membership program.

Right now the newsletter is taking a bit of a break whilst I figure out a healthy publishing cadence, but you can subscribe below:

Playing with Infinity in CSS

There’s not many blog posts that upset the natural order of CSS, but I’m still reeling from this one by Will Boyd where, back in February, he wrote about the infinity constant in CSS.

You can use it just like this...

.element {
	z-index: calc(infinity);
}

...and that’ll always be the biggest z-index on the page. That’s neat! And...weird? It’s definitely worth checking out Will’s list of practical examples of infinity, too.