CSS UI Pattern Library - Online Copy‑Paste Components
Browse a collection of common UI components (cards, modals, navbars) built with pure CSS. Preview and copy the HTML/CSS. Fast prototyping.
UD5 Toolkit
Browse, preview & copy 35+ ready-to-use CSS keyframe animations for your web projects.
No animations found. Try a different search term or category.
@keyframes rules define the intermediate steps in an animation sequence. They specify what styles the element will have at certain points during the animation. You define a set of keyframes with percentage values (0%, 50%, 100%, etc.), and the browser interpolates the styles between those points smoothly. This allows you to create complex, multi-step animations without JavaScript.@keyframes definition for any animation, paste it into your CSS file, then apply it to an element using the animation shorthand property. For example:@keyframes lib-bounce { ... }
.my-element { animation: lib-bounce 0.6s ease; }You can customize the duration, timing function, delay, and iteration count as needed.@keyframes and the animation property are supported in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. For Safari versions older than 9, you may need the -webkit- prefix. All major mobile browsers also support CSS animations. The animations in this library use standard CSS properties like transform and opacity which have excellent cross-browser support.animation property. For example: animation: lib-fadeIn 1s ease, lib-pulse 2s 1s infinite;. This would first fade the element in, then start a pulsing effect after a 1-second delay. Just be mindful that some combinations (especially those affecting the same CSS properties like transform) may conflict.animation-duration property to control speed (e.g., 0.3s for fast, 2s for slow). The animation-timing-function controls the acceleration curve — common values include ease, ease-in, ease-out, ease-in-out, and linear. You can also use cubic-bezier() for custom timing curves. Additionally, animation-delay sets a wait time before the animation starts, and animation-iteration-count controls how many times it repeats (infinite for endless looping).transform and opacity are GPU-accelerated and don't trigger layout recalculations, making them very smooth. Avoid animating properties like width, height, top, left, or margin as these can cause layout thrashing. Most animations in this library use only transform and opacity for optimal performance. Also consider using will-change sparingly for elements you know will animate.:hover pseudo-class: .my-element:hover { animation: lib-bounce 0.6s; }. For scroll-triggered animations, you can use the Intersection Observer API in JavaScript to add an animation class when the element enters the viewport. Alternatively, modern CSS features like animation-timeline: scroll() (experimental) allow scroll-driven animations natively.transition smoothly interpolates between two states when a CSS property changes (usually triggered by hover or class change). It's great for simple A-to-B effects. animation with @keyframes allows multi-step sequences with precise control over intermediate states. Use transitions for simple interactive effects (button hover), and animations for complex, self-contained sequences (attention-grabbing effects, loaders, entrance animations) that may loop or have multiple phases.Browse a collection of common UI components (cards, modals, navbars) built with pure CSS. Preview and copy the HTML/CSS. Fast prototyping.
Drag points to create a custom clip‑path shape. See the CSS value update live. For creating non‑rectangular elements.
Browse the fonts installed on your system and type a custom phrase to see how it looks. Uses Local Font Access API where available.
Visually apply CSS transform functions like rotate, scale, skew, and translate. Obtain the exact CSS code for your elements. No coding needed.
Choose from a dozen pure CSS loading spinners. Customize color, size, and speed. Copy the HTML & CSS. No JavaScript needed.
Pick two images or colors and apply all 16 CSS mix‑blend‑mode values live. See and copy the right CSS for your design.
Type text and instantly see it rendered with text‑transform: uppercase, lowercase, capitalize, and full‑width. Copy CSS.
Design beautiful buttons with gradients, shadows, and hover/active effects. No JavaScript required. Copy the CSS.
Design a fully styled scrollbar with colors, width, radius, and hover effects. Supports both ::-webkit‑scrollbar and Firefox scrollbar‑width.
Construct a CSS‑only carousel with scroll‑snap and scroll‑driven animations. Configurable gap, items, and progress indicator. Copy the HTML/CSS.
Set perspective and rotate children in 3D space. See the effect of perspective‑origin. Copy the CSS. Learn 3D transforms.
Minify JavaScript and CSS code to reduce file size for production. Remove whitespace and comments instantly. Run locally, your code stays private.
Add rows and columns, merge cells, and set gaps visually. Get the grid‑template CSS and HTML. Fast layout prototyping.
Compile SCSS code to CSS directly in the browser using the official Sass.js library. Supports variables, mixins, nesting. No server upload required.
Compile LESS code to plain CSS in your browser. Check for syntax errors and get clean output. For legacy projects.
Paste code and get a beautifully highlighted preview with line numbers. Supports many languages. Copy as HTML. Pure frontend.
Pick an emoji and get the exact CSS content property value with escaped Unicode. For inserting emojis via CSS.
Design a modern button with gradients, shadows, and hover effects. Copy the clean CSS code.
Build a complete font‑stack for your website. Choose a primary font and get the best fallback options for different OS. Copy the CSS.
Pick a COLRv1 color font and change its palette with font‑palette. Create custom palettes with @font‑palette‑values.
Paste or upload an SVG and convert it into a CSS background‑image data URI. Clean and ready to embed.
Write CSS like `oklch(from red l c h)` to modify colors dynamically. Preview the output and copy the code.
Toggle scroll‑behavior: smooth and click anchor links to see the scrolling animation. Implement modern UX.
Paste your SCSS or Sass code and compile it to standard CSS. Basic sass.js engine runs in your browser. No server.
Add multiple CSS filters (grayscale, blur, hue‑rotate) to an image. See the combined effect. Copy the CSS filter value.
Press any key combination and see the human‑readable shortcut for macOS and Windows. Developer docs helper.
Offline‑first search of the CanIUse database. Type a CSS property, HTML element, or API and see global support percentages. Fast.
Generate CSS-only triangles by configuring direction, size, and color. Copy the CSS snippet. Useful for creating speech bubbles and navigation arrows.
Create a pure HTML/CSS accordion using <details> elements. Add custom styling and get the clean code. No JavaScript required.
Design a custom focus indicator with outline, offset, and box‑shadow. Preview on interactive elements. Copy the CSS.