CSS accordion
details/summary styled accordion, no JS.
CSS UI component snippets: buttons, forms, navigation, cards, tooltips, and more. Every snippet includes a live demo, copyable CSS, and an LLM-ready prompt.
details/summary styled accordion, no JS.
Overlapping circular avatars using negative margins and z-index stacking.
A breadcrumb navigation with CSS flexbox and pseudo-element separators.
Shimmer loading skeleton for cards using CSS animations.
Checkbox-driven toggle switch with no JavaScript.
Style a parent when a child is open using :has().
A polished text input with focus-visible state, placeholder, and oklch colors.
A pricing tier card with a highlighted popular option using scale transform and oklch accent colors.
Production-ready primary button with hover, focus, active, and disabled states.
A styled progress element with animated fill using pseudo-elements and an accent-color fallback.
A flex-wrap tag cloud with consistent chip styling using oklch colors.
CSS Anchor Positioning tooltip — tethered via anchor-name / anchor().
A pure CSS tooltip using ::after and attr() that appears on hover with a smooth transition.
Responsive top nav with logo, links, and sticky positioning.