LoadersAnimated Loading Spinners
Four loading spinners in plain CSS (ring, dots, bars and pulse), each with a text alternative, a pause switch and a still version for reduced motion.
Ready-to-use HTML, CSS and JavaScript with a live preview. Copy the code or open any snippet in the playground.
17 snippets · page 1 of 2
LoadersFour loading spinners in plain CSS (ring, dots, bars and pulse), each with a text alternative, a pause switch and a still version for reduced motion.
NavigationA breadcrumb trail and a numbered pager with previous, next and gaps, built from real links that fold to a compact pager on phones.
ButtonsSix button hover, focus and press treatments in plain CSS: lift, underline sweep, fill, press, halo and icon slide.
PricingA three-plan pricing table with a featured plan, feature lists that use words as well as ticks, and a button on each plan. All prices are labelled as examples.
NavigationA site header whose links fold behind a Menu button on phones and sit in a row from 40em, written without a library.
Data DisplayA real table whose headers sort, with a text filter, five rows a page and a status line. The rows are plain HTML. Written with XON's table part.
LayoutAn accordion of five questions on details and summary, with an animated chevron and one open at a time through the name attribute.
LayoutA two-column article page whose contents list stays in view beside the text on wide screens and folds into a details block on phones.
TypographyA seven-step type scale built with clamp() and custom properties, plus measure, leading and spacing tokens that you can copy into your own styles.
FormsText, email, number, search and multi-line fields with a label, a hint and an error line tied to the field, switched on by the browser's own checks.
CardsFour card layouts on one auto-fit grid: stacked, horizontal, a whole-card link and a compact list, with light and dark colours.
LoadersA native progress bar, a bar that waits for an unknown length, a four-step tracker and a ring, all driven by one slider and all showing the value as text.
Try our online code playground to experiment with these snippets and create your own projects.