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 styled checkbox with animation on state change.
Creates a list with floating headings for each section.
Displays an image overlay effect on hover.
A hover effect where the gradient follows the mouse cursor.
Creates a card that displays additional content on hover.
Creates a custom hover and focus effect for navigation items, using CSS transformations.
Creates a list with sticky headings for each section.
Creates a rotate effect for the image on hover.
Creates an input with a visual, non-editable prefix.
Creates an isometric card.
Hides an element completely (visually and positionally) in the DOM while still allowing it to be accessible.
Creates a progress bar indicating the scroll percentage of the page.
Learn how CSS custom properties (CSS variables) work and what you can use them for in your code and designs.
Changes the appearance of a form if any of its children are focused.
Learn how to create a custom responsive favicon that can adapt its color palette for dark mode with this quick guide.