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.
28 snippets · page 1 of 3
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.
FeedbackInformation, success, warning and error banners with an icon, a heading, a dismiss button and the right live-region role for each kind.
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.
FormsA group of settings-style switches built on real checkboxes with role switch, visible On and Off text and a disabled example.
CardsFour card layouts on one auto-fit grid: stacked, horizontal, a whole-card link and a compact list, with light and dark colours.
Try our online code playground to experiment with these snippets and create your own projects.