Home > Designing, Others > A Calendar in Three Lines of CSS

A Calendar in Three Lines of CSS

December 24th, 2020 Leave a comment Go to comments

This article has no byline and is on a website that is even more weirdly specific than this one is, but I appreciate the trick here. A seven-column grid makes for a calendar layout pretty quick. You can let the days (grid items) fall onto it naturally, except kick the first day over to the correct first column with grid-column-start.

Thoughts: