Timeline Grid Lab

Nine demos built on the Timeline Grid, where the header and every row share one column grid through subgrid. Everything interactive is done with radio buttons, :has(), container queries and the native resize handle. No JavaScript.

01 Overlapping Events Events that overlap get their own lanes, and the row grows to fit them. 02 Now Indicator A vertical line sweeps across the grid like a live clock, driven by a registered @property. 03 Density Toggle Radio buttons and :has() switch the columns between 15, 30 and 60 minutes. 04 Dark Mode Toggle Colors are set once with light-dark(), and radio buttons flip color-scheme to switch them. Images swap too where the browser supports it. 05 Responsive Agenda A container query turns the grid into an agenda list when it gets narrow. Drag the resize handle to watch. 06 Gantt Chart Days on the axis instead of hours, a labeled row per task, and a diamond milestone marker for a single-day event. 07 Contribution Heatmap A GitHub-style activity grid. Each square's data-level picks its color, and the grid fills by column. 08 Resource Scheduler Rooms down the side and hours across the top, with a sticky label column inside the same subgrid. 09 Kanban Board The subgrid trick turned sideways: rows line up across columns instead of columns lining up across rows.