Menu Transition
Menu a tutto schermo · Menú a pantalla completa · Fullscreen menu · Overlay menu · Transizione del menu · Hamburger menu animation
Tap the menu icon and a panel floods the whole screen with an expanding circle, a curtain or a wave, while the links enter one by one. Closing it plays the same choreography in reverse.
- Era
- 2014 – today
- Use
- Mainstream
Live demo
View code
<header><b>studio/</b><button class="burger" aria-label="Menu"><i></i><i></i></button></header>
<main class="page"><h2>Progettiamo<br>esperienze digitali</h2><p>Scopri i nostri lavori</p></main>
<nav class="menu">
<a style="--i:0">Lavori</a><a style="--i:1">Studio</a><a style="--i:2">Servizi</a><a style="--i:3">Contatti</a>
</nav> body{margin:0;height:100vh;overflow:hidden;background:#F4F1EA;font-family:Inter,sans-serif;color:#14141A;position:relative}
header{position:absolute;inset:0 0 auto;display:flex;justify-content:space-between;align-items:center;padding:16px 22px;z-index:3}
header b{font:700 16px Unbounded,sans-serif;color:#F4F1EA;mix-blend-mode:difference}
.burger{width:44px;height:44px;border-radius:50%;border:0;background:#FF5B2E;display:grid;place-content:center;gap:6px;padding:0}
.burger i{display:block;width:18px;height:2px;background:#14141A;transform:translateY(4px) rotate(45deg)}
.burger i+i{transform:translateY(-4px) rotate(-45deg)}
.page{height:100%;display:flex;flex-direction:column;justify-content:center;padding:0 8vw}
h2{font:700 clamp(26px,6vw,44px)/1.05 Unbounded,sans-serif;margin:0}
.page p{color:#8B8794;margin:12px 0 0}
.menu{position:absolute;inset:0;background:#14141A;display:flex;flex-direction:column;justify-content:center;padding:30px 8vw 0;clip-path:circle(150% at calc(100% - 44px) 38px);z-index:2}
.menu a{font:700 clamp(28px,7vw,46px)/1.12 Unbounded,sans-serif;color:#F4F1EA;text-decoration:none;display:block}
.menu a:nth-child(2){color:#B9A7FF}
@media (prefers-reduced-motion:no-preference){
.menu{animation:open 5s cubic-bezier(.76,0,.24,1) infinite}
.menu a{animation:item 5s cubic-bezier(.22,1,.36,1) infinite;animation-delay:calc(var(--i)*80ms)}
.burger i{animation:top 5s cubic-bezier(.76,0,.24,1) infinite}
.burger i+i{animation-name:bot}
@keyframes open{0%,16%{clip-path:circle(0 at calc(100% - 44px) 38px)}34%,72%{clip-path:circle(150% at calc(100% - 44px) 38px)}88%,100%{clip-path:circle(0 at calc(100% - 44px) 38px)}}
@keyframes item{0%,24%{opacity:0;transform:translateY(60%)}38%,68%{opacity:1;transform:none}76%,100%{opacity:0;transform:translateY(-30%)}}
@keyframes top{0%,16%,88%,100%{transform:translateY(-4px) rotate(0)}30%,74%{transform:translateY(4px) rotate(45deg)}}
@keyframes bot{0%,16%,88%,100%{transform:translateY(4px) rotate(0)}30%,74%{transform:translateY(-4px) rotate(-45deg)}}
} Characteristics
- Hamburger morphing into an X
- Circular or curtain clip-path reveal
- Huge links entering in a stagger
- Sharp contrast between page and open menu
- Closing replays the opening in reverse
Palette
Click a swatch to copy it
Typography
Headings · Unbounded Menu Transition
Body · Inter Tap the menu icon and a panel floods the whole screen with an expanding circle, a curtain or a wave, while the links enter one by one. Closing it plays the same choreography in reverse.
Motion
- Easing
cubic-bezier(0.76, 0, 0.24, 1) per il pannello, cubic-bezier(0.22, 1, 0.36, 1) per le voci- Typical duration
- 500–900 ms apertura, voci sfalsate di 60–90 ms
- Techniques
- clip-path circle() e inset(), transform translateY con overflow hidden, GSAP timeline reversibile, Web Animations API, aria-expanded e gestione del focus, View Transitions API
Accessibility (reduced motion)
Open and close the menu with a short plain fade or instantly, with no expanding circles or moving links.
Prompt for your agent
Copy and paste into your prompt to have an agent or image generator reproduce this style.
For web pages and UI
Design the web page or interface in this style: Menu Transition (Menu a tutto schermo, Menú a pantalla completa). Tap the menu icon and a panel floods the whole screen with an expanding circle, a curtain or a wave, while the links enter one by one. Closing it plays the same choreography in reverse. Characteristics: Hamburger morphing into an X, Circular or curtain clip-path reveal, Huge links entering in a stagger, Sharp contrast between page and open menu, Closing replays the opening in reverse. Palette: #F4F1EA, #14141A, #FF5B2E, #B9A7FF, #8B8794. Typography: headings in Unbounded, body text in Inter (Google Fonts or equivalents). Mood: bold, immersive, elegant. Motion: easing cubic-bezier(0.76, 0, 0.24, 1) per il pannello, cubic-bezier(0.22, 1, 0.36, 1) per le voci, typical duration 500–900 ms apertura, voci sfalsate di 60–90 ms; techniques: clip-path circle() e inset(), transform translateY con overflow hidden, GSAP timeline reversibile, Web Animations API, aria-expanded e gestione del focus, View Transitions API. With prefers-reduced-motion: Open and close the menu with a short plain fade or instantly, with no expanding circles or moving links. References: Codrops «Fullscreen Overlay Effects», siti premiati su Awwwards, GSAP Timeline reverse(), W3C ARIA «Disclosure» pattern.
Relations
Derives from
Similar to
References
- Codrops «Fullscreen Overlay Effects»
- siti premiati su Awwwards
- GSAP Timeline reverse()
- W3C ARIA «Disclosure» pattern