codepenz
← Back to catalog

Linked Lists using anchor-positioning

A checkbox list and a radio-button list are visually joined by dashed connector lines drawn purely with CSS anchor-positioning: checked items become live anchors, and pseudo-elements route between them using the anchor() function and style() container queries — no SVG, no JS geometry.

ComponentsEffectsanchor-positioningcontainer-queriescss-onlycheckbox-hack
Added July 9, 2026
Sorry, your browser doesn't support anchor-positioning

Linked Lists using anchor-positioning