{"id":331598,"date":"2020-12-24T07:25:37","date_gmt":"2020-12-24T15:25:37","guid":{"rendered":"https:\/\/css-tricks.com\/?p=331598"},"modified":"2020-12-24T07:25:39","modified_gmt":"2020-12-24T15:25:39","slug":"a-calendar-in-three-lines-of-css","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/a-calendar-in-three-lines-of-css\/","title":{"rendered":"A Calendar in Three Lines of CSS"},"content":{"rendered":"\n

This article<\/a> 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<\/code>.<\/p>\n\n\n\n\n\n\n\n

Thoughts:<\/p>\n\n\n\n