Search⌘ K

Circular Page Reveal Transition

Explore how to create a circular page reveal transition using CSS by animating the clip-path property. Learn to position an overlay mask and apply keyframe animations to produce a smooth reveal effect that uncovers page content in a dynamic, visually appealing way, all without using JavaScript.

Problem description

Given an HTML page containing two div elements: a <div class="page-mask"></div> and a <div class="page-content">, write CSS to:

  • Position .page-mask absolutely to cover the entire viewport above .page-content.

  • Set its initial ...