

Hover to reveal
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hover reveal</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Anton&family=Barlow:wght@400;600&display=swap">
<style>
:root { --bg:#0E0204; --amber:#FFA51F; --blush:#F7E6DA; --ink:#22060A; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--blush); font-family: Barlow, sans-serif; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reveal { position: relative; height: 100vh; overflow: hidden; background: var(--bg); cursor: pointer; }
.reveal .a, .reveal .b { position: absolute; inset: 0; }
.reveal .b { clip-path: inset(0 0 0 100%); transition: clip-path .9s cubic-bezier(.16,1,.3,1); }
.reveal:hover .b, .reveal:focus-within .b { clip-path: inset(0 0 0 0); }
.tag { position: absolute; left: 24px; bottom: 24px; font-family: Barlow, sans-serif; font-weight: 600;
letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--blush); }
</style>
</head>
<body>
<!-- still-a.jpg is the first frame, still-b.jpg the reveal. Hover or focus to wipe. -->
<div class="reveal" tabindex="0">
<img class="a" src="still-a.jpg" alt="">
<img class="b" src="still-b.jpg" alt="">
<p class="tag">Hover to reveal</p>
</div>
</body>
</html>