The CSS snippet collection contains utilities and interactive examples for CSS3. It includes modern techniques for creating commonly-used layouts, styling and animating elements, as well as snippets for handling user interactions.
Creates a scrollable container that will snap on elements when scrolling.
CSS, Interactivity · Aug 18, 2020
Creates a staggered animation for the elements of a list.
CSS, Animation · Oct 11, 2021
Creates a card that displays additional content on hover.
CSS, Visual · Oct 11, 2021
Creates an input with a visual, non-editable prefix.
CSS, Interactivity · Oct 13, 2021
A short, opinionated CSS reset to make your websites look great everywhere.
CSS, Visual · Oct 16, 2022
Creates a list with sticky headings for each section.
CSS, Visual · Dec 30, 2020
Transitions an element's height from 0
to auto
when its height is unknown.
CSS, Animation · Dec 30, 2020
Creates a squiggle effect when hovering over a link.
CSS, Animation · Jan 10, 2023
Make sure the footer stays at the bottom of the page, instead of floating up when the content is too short.
CSS, Layout · Oct 30, 2022
A quick reference for inherited CSS properties.
CSS, Layout · Nov 20, 2022