Transitions

Circle Reveal

A circle expands from the center to reveal the new page.

CSSClip-pathCircle
Circle Reveal — Transitions effect
See it live (free account) →

The code

A glimpse of the source:

index.html
<div class="transition-preview" id="circleReveal">
    <div class="transition-content old-content">Page A</div>
    <div class="transition-content new-content">Page B</div>
    <div class="transition-overlay circle-reveal-overlay">
    </div>
  </div>
  <button class="trigger-btn" onclick="triggerCircleReveal()">Trigger Transition</button>
</div>
🔒 Unlock the full code

Full HTML + CSS + JS, copy-paste-ready — with 800 more Premium effects.

Concrete use cases

A few real contexts where Circle Reveal shines:

How it works

CSS + a lightweight vanilla JavaScript script (no dependency). It relies on a @keyframes animation, CSS transforms and clip-path masking.

Make it yours

You can tweak:

Add it in 3 steps

  1. Paste the HTML where you want the effect on your page.
  2. Add the CSS to your stylesheet (or in a <style> tag).
  3. Add the small JavaScript snippet before </body> — done.

Browser support

Works in every modern browser (Chrome, Firefox, Safari, Edge). Responsive, with graceful degradation. clip-path is supported everywhere modern.

More Transitions effects

Browse all Transitions effects →

FAQ

Is the code free?

This effect is part of the Premium library (801 effects, copy-paste-ready code). Around 70 effects are free.

How do I add it to my project?

Copy the HTML, CSS and JS and paste them in. No dependencies, works with any framework.

Does it work on mobile?

Yes — the effects are responsive and degrade gracefully.