Liquid Gradient Morph
Home
Snippets
Liquid Gradient Morph
HTML
CSS
JS
<div class="liquid"></div> <div class="overlay"> <h1>LIQUID MORPH</h1> <p>Modern background animation</p> </div>
* { box-sizing: border-box; } body { margin: 0; height: 100vh; overflow: hidden; background: #050505; display: flex; align-items: center; justify-content: center; font-family: system-ui, sans-serif; } .liquid { position: absolute; width: 120%; height: 120%; background: radial-gradient(circle at 20% 30%, #ff6ec7, transparent 45%), radial-gradient(circle at 80% 30%, #7cffcb, transparent 45%), radial-gradient(circle at 50% 70%, #5f9cff, transparent 45%); filter: blur(80px); animation: morph 12s ease-in-out infinite alternate; } @keyframes morph { 0% { transform: translate(-5%, -5%) scale(1); } 50% { transform: translate(5%, 0%) scale(1.1); } 100% { transform: translate(0%, 5%) scale(1.05); } } .overlay { position: relative; z-index: 1; padding: 40px 60px; border-radius: 20px; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); color: #fff; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,0.6); } .overlay h1 { margin: 0; font-size: 32px; letter-spacing: 2px; } .overlay p { margin-top: 10px; font-size: 14px; opacity: 0.7; }
//javascript
Ad #1
Ad #2
Scroll to Top