Skip to content

20+ Free Bootstrap & Tailwind Effect & Animation Templates

Visual effects and motion.

21 components

Magnetic Button Hover Effect – free Pure CSS hover effect template

Magnetic Button Hover Effect

Buttons that pull toward the mouse cursor when it comes near and spring back on leave, driven by CSS custom properties and a tiny script.

Image Clipped Text with Photo Fill – free Pure CSS text effect template

Image Clipped Text with Photo Fill

Large pure CSS heading filled with a slowly panning mountain photo through background-clip text, with a solid color fallback.

Curved Section with Photo Clip-Path – free Pure CSS shape & divider template

Curved Section with Photo Clip-Path

Full-width photo hero with a responsive curved bottom edge made with CSS clip-path ellipse, plus a three-column feature row below.

View Transitions API Page Transition – free Pure CSS page transition template

View Transitions API Page Transition

Playlist grid and detail views that cross-fade with the native View Transitions API, morphing the cover art between views, with an instant fallback.

Background Image Slideshow – free Bootstrap 5 background template

Background Image Slideshow

Bootstrap 5 hero section whose background cross-fades through photos with a slow zoom, progress dots, captions and a pause button.

Cursor Trail Effect – free Pure CSS cursor effect template

Cursor Trail Effect

A chain of glowing dots that follows the mouse or finger and fades out behind it, with glow, rainbow and ring styles and an idle animation.

Horizontal Scroll Section – free Bootstrap 5 scroll animation template

Horizontal Scroll Section

Bootstrap 5 section that pins to the viewport and slides photo cards sideways as the page scrolls down, with a counter and progress bar.

Image Reveal Cursor on Hover – free Tailwind CSS cursor effect template

Image Reveal Cursor on Hover

Tailwind CSS project list where hovering a row reveals a photo that follows the cursor with smooth easing and tilt, plus keyboard and touch fallbacks.

Animated Blob Background – free Pure CSS background template

Animated Blob Background

Pure CSS animated background with blurred, morphing color blobs drifting behind a hero headline, with a pause button and reduced-motion support.

Custom Cursor Follower – free Pure CSS cursor effect template

Custom Cursor Follower

Smooth custom cursor with a dot and an eased ring that grows on links, shows a label over cards and inverts the headline, in CSS and vanilla JS.

CSS Pattern Backgrounds – free Pure CSS background template

CSS Pattern Backgrounds

Eight pure CSS gradient background patterns (dots, polka, grid, graph paper, stripes, crosshatch, checkerboard, zigzag) with a live scale slider.

Link Underline Effects – free Pure CSS hover effect template

Link Underline Effects

Six animated link underline styles in pure CSS (slide, center, highlighter, ink fill, line swap and wave) that also work on links that wrap.

Glitch Text Effect – free Pure CSS text effect template

Glitch Text Effect

Pure CSS glitch heading with sliced cyan and magenta copies, CRT scanlines, and subtle, hover-only and acid palette variants.

Wave Section Dividers – free Pure CSS shape & divider template

Wave Section Dividers

Pure CSS and inline SVG section dividers with wave, layered wave, curve and tilt shapes that inherit the next section's color and stretch to any width.

Scroll Reveal Animations – free Pure CSS scroll animation template

Scroll Reveal Animations

Elements fade, slide, zoom or flip into view on scroll using IntersectionObserver and data-sr attributes, with stagger delays and reduced-motion support.

Animated Gradient Background – free Pure CSS background template

Animated Gradient Background

Pure CSS hero section with a slowly shifting multi-color gradient, drifting blurred blobs and a grain overlay, customizable through CSS variables.

Image Hover Effects – free Pure CSS hover effect template

Image Hover Effects

Six pure CSS image hover effects with captions: zoom, grayscale to color, sliding panel, tilt, blur and frame, also revealed by keyboard focus.

Animated Gradient Text – free Pure CSS text effect template

Animated Gradient Text

Pure CSS animated gradient text for headings using background-clip, with four palettes, a shine sweep variant, a CSS-only pause switch and a fallback color.

Typing Text Effect – free Pure CSS text effect template

Typing Text Effect

Pure CSS typewriter effect with a blinking caret, using steps() and ch units on a monospace headline and a retro terminal window with replay.

Reading Progress Bar – free Tailwind CSS scroll animation template

Reading Progress Bar

Sticky Tailwind CSS reading progress bar with a gradient fill, clickable chapter markers, current section label, minutes left and a circular back-to-top indicator.

What are CSS effects and animations?

Effects and animations add motion and visual polish to an interface: hover effects on cards and buttons, animated gradients, text reveal and typing effects, scroll-triggered fade-ins, parallax backgrounds, glassmorphism, glowing borders, loaders and micro-interactions. Used with restraint, they guide attention, give feedback and make a site feel responsive.

When to use animation

Motion should have a purpose: show that something changed, draw the eye to a primary action, explain where an element came from or confirm an interaction. Avoid animating everything; a few deliberate effects feel more polished than constant movement, and too much motion slows users down.

Performance and accessibility tips

  • Animate transform and opacity where possible; they are cheap for the browser to render, unlike width, top or box-shadow.
  • Keep UI transitions short, roughly 150 to 300 milliseconds, and use easing for natural movement.
  • Wrap non-essential motion in a @media (prefers-reduced-motion: reduce) check and provide a calm fallback.
  • Never flash content more than three times per second.
  • Use IntersectionObserver for scroll-triggered effects instead of heavy scroll listeners.
  • Make sure text stays readable during and after the effect, and that hover-only effects also have a focus equivalent.
  • Use will-change sparingly and only on elements that actually animate.

Framework versions

Many effects here are pure CSS, so they work in any project. Where a framework helps, snippets are also provided for Bootstrap 6, Bootstrap 5 and Tailwind CSS: Tailwind versions use its transition and animation utilities, while Bootstrap 6 alpha versions pick up theme-* colour roles so effects match the active theme. Use the framework filter and the live preview to see each effect in motion, then copy the CSS and HTML from the code tabs or download the snippet and tweak durations, colours and easing.