Here’s a little CSS Grid use case where a list of days is transformed into a calendar:
My choice for this CSS calendar tutorial is a list. Why? Because it’s the easiest way to show the amazing capabilities of CSS grid.
With a little CSS extra you can easily make Sunday the last day of the week — a format we prefer here in Europe:
Additionally I’d further adjust the code to have the first day be set by use of a CSS Custom Property. That way the calendar would be able to display any month, without needing any CSS adjustments at all.