Animated Gradient
Gradiente animato · Degradado animado · Moving gradient · Mesh gradient animato · Gradient border
Colour gradients that slowly slide, rotate or blend across backgrounds, text and borders. They energise a page without any images.
- Era
- 2015 – today
- Use
- Mainstream
Live demo
View code
<main>
<h1>Colore<br><span>in movimento</span></h1>
<a class="btn" href="#"><b>Inizia ora</b></a>
</main> @property --a{syntax:'<angle>';inherits:false;initial-value:0deg}
body{margin:0;height:100vh;display:grid;place-items:center;font-family:'Plus Jakarta Sans',sans-serif;background:linear-gradient(120deg,#FF6B6B,#FFB347,#6A5BFF,#00C2FF,#FF6B6B);background-size:300% 300%;background-position:20% 50%}
main{text-align:center;padding:28px 34px;border-radius:24px;background:#0F0B1Ee6;color:#fff;box-shadow:0 20px 50px #0F0B1E55}
h1{margin:0 0 20px;font-weight:800;font-size:clamp(30px,8vw,52px);line-height:1;letter-spacing:-.03em}
h1 span{background:linear-gradient(90deg,#FFB347,#FF6B6B,#6A5BFF,#00C2FF,#FFB347);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent}
.btn{display:inline-block;padding:2px;border-radius:999px;background:conic-gradient(from var(--a),#FF6B6B,#FFB347,#00C2FF,#6A5BFF,#FF6B6B);text-decoration:none}
.btn b{display:block;padding:12px 26px;border-radius:999px;background:#0F0B1E;color:#fff;font-weight:500}
@media (prefers-reduced-motion:no-preference){
body{animation:bg 12s ease-in-out infinite}
h1 span{animation:tx 4s linear infinite}
.btn{animation:spin 3s linear infinite}
@keyframes bg{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes tx{to{background-position:-200% 0}}
@keyframes spin{to{--a:360deg}}
} Characteristics
- Oversized linear or conic gradients sliding across the container
- Text filled with a moving gradient
- Rotating conic borders via @property
- Saturated harmonious colours
- Slow continuous motion
Palette
Click a swatch to copy it
Typography
Headings · Plus Jakarta Sans Animated Gradient
Body · Plus Jakarta Sans Colour gradients that slowly slide, rotate or blend across backgrounds, text and borders. They energise a page without any images.
Motion
- Easing
linear / ease-in-out- Typical duration
- 6–20 s per ciclo
- Techniques
- background-size 300% + background-position, @property per animare angoli e colori, conic-gradient, background-clip text, mesh gradient in WebGL, hue-rotate
Accessibility (reduced motion)
Freeze the gradient in a pleasing position; keep the colours, lose the motion.
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: Animated Gradient (Gradiente animato, Degradado animado). Colour gradients that slowly slide, rotate or blend across backgrounds, text and borders. They energise a page without any images. Characteristics: Oversized linear or conic gradients sliding across the container, Text filled with a moving gradient, Rotating conic borders via @property, Saturated harmonious colours, Slow continuous motion. Palette: #FF6B6B, #FFB347, #6A5BFF, #00C2FF, #0F0B1E, #FFFFFF. Typography: headings in Plus Jakarta Sans, body text in Plus Jakarta Sans (Google Fonts or equivalents). Mood: energetic, dreamy, futuristic. Motion: easing linear / ease-in-out, typical duration 6–20 s per ciclo; techniques: background-size 300% + background-position, @property per animare angoli e colori, conic-gradient, background-clip text, mesh gradient in WebGL, hue-rotate. With prefers-reduced-motion: Freeze the gradient in a pleasing position; keep the colours, lose the motion. References: Stripe homepage (mesh gradient WebGL), CSS @property (Houdini), uiGradients, Instagram logo 2016.
Relations
Derives from
Influenced
Contrasts with
References
- Stripe homepage (mesh gradient WebGL)
- CSS @property (Houdini)
- uiGradients
- Instagram logo 2016