Lava Blob
🟢 CSS OnlySimulating a dark volcanic lava lamp with vertical bubbles joining, rising, and separating slowly.
Responsive Horizontal Leaderboard
Slot ID: ca-pub-detail-below-preview
Interactive Settings
Medium Rectangle Block
Slot ID: ca-pub-detail-after-customization
Quick Copy Actions
Download File Packages
Keyboard Shortcuts
Responsive Horizontal Leaderboard
Slot ID: ca-pub-detail-before-related
More in Blob
Loading Canvas Shader...
Floating Blob
Fluid, vibrant colored circular blobs bouncing gently and morphing shapes in the background.
Loading Canvas Shader...
Organic Blob
A single large centered blob with an organically shifting outline and high-contrast pastel gradients.
Loading Canvas Shader...
Morphing Blob
An animated shifting color drop with glassmorphic reflection overlay, perfect as an accent backplate.
Lava Blob - CSS-only Blob background for React & Tailwind
Integrate the Lava Blob directly into your website. This asset is rendered using pure CSS and HTML keyframes. It is optimized for zero layout-shifts and runs with high-performance hardware-accelerated processing.
⚡ Performance Specifications
- Render Mode: CSS-ONLY (CSS-only)
- Fluidity: Locked at 60fps dynamic loop
- Bundle Footprint: Zero external NPM dependencies
- SEO Indexing status: 100% Crawlable static semantic HTML
🛠️ Integration Capabilities
Our templates expose inline design tokens like --color-1 and --color-2 for infinite color palettes. This template is designed to fit inside hero elements, full-screen landing pages, and interactive presentation cards.
Technical Code Reference & Syntaxes for Googlebot & Crawlers
The snippets below display the direct, unminified source code utilized for rendering this background.
HTML & Inline CSS Snippet (Vanilla)
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lava Blob</title>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #09090b;
}
:root {
--speed: 14s;
}
.lava-container {
position: relative;
width: 100%;
height: 100%;
background: #0f0505;
overflow: hidden;
}
.lava-lamp {
position: relative;
width: 100%;
height: 100%;
filter: contrast(18) blur(15px); /* Liquid-joining filter trick */
background: #0f0505;
}
.lava-bubble {
position: absolute;
background: #ef4444;
border-radius: 50%;
}
.lava-bubble-1 {
width: 140px;
height: 140px;
bottom: -40px;
left: 20%;
animation: lava-up-1 var(--speed) infinite ease-in-out;
}
.lava-bubble-2 {
width: 110px;
height: 110px;
bottom: -40px;
left: 55%;
animation: lava-up-2 var(--speed) infinite ease-in-out;
}
.lava-bubble-3 {
width: 160px;
height: 160px;
bottom: -80px;
left: 35%;
animation: lava-up-3 var(--speed) infinite ease-in-out alternate;
}
@keyframes lava-up-1 {
0% { transform: translateY(0) scale(1); }
50% { transform: translateY(-300px) scale(0.9); }
100% { transform: translateY(0) scale(1.1); }
}
@keyframes lava-up-2 {
0% { transform: translateY(0) scale(1); }
40% { transform: translateY(-450px) scale(0.85); }
100% { transform: translateY(0) scale(1); }
}
@keyframes lava-up-3 {
0% { transform: translateY(0) scale(1.1); }
60% { transform: translateY(-200px) scale(0.95); }
100% { transform: translateY(0) scale(0.9); }
}
</style>
</head>
<body>
<div class="lava-container">
<div class="lava-lamp">
<div class="lava-bubble lava-bubble-1"></div>
<div class="lava-bubble lava-bubble-2"></div>
<div class="lava-bubble lava-bubble-3"></div>
</div>
</div>
</body>
</html>React Component Wrapper (TSX)
import React from 'react';
export default function LavaBlobBackground() {
return (
<div
style={{ width: '100%', height: '100%', position: 'relative', overflow: 'hidden' }}
>
<style dangerouslySetInnerHTML={{ __html: `
:root {
--speed: 14s;
}
.lava-container {
position: relative;
width: 100%;
height: 100%;
background: #0f0505;
overflow: hidden;
}
.lava-lamp {
position: relative;
width: 100%;
height: 100%;
filter: contrast(18) blur(15px); /* Liquid-joining filter trick */
background: #0f0505;
}
.lava-bubble {
position: absolute;
background: #ef4444;
border-radius: 50%;
}
.lava-bubble-1 {
width: 140px;
height: 140px;
bottom: -40px;
left: 20%;
animation: lava-up-1 var(--speed) infinite ease-in-out;
}
.lava-bubble-2 {
width: 110px;
height: 110px;
bottom: -40px;
left: 55%;
animation: lava-up-2 var(--speed) infinite ease-in-out;
}
.lava-bubble-3 {
width: 160px;
height: 160px;
bottom: -80px;
left: 35%;
animation: lava-up-3 var(--speed) infinite ease-in-out alternate;
}
@keyframes lava-up-1 {
0% { transform: translateY(0) scale(1); }
50% { transform: translateY(-300px) scale(0.9); }
100% { transform: translateY(0) scale(1.1); }
}
@keyframes lava-up-2 {
0% { transform: translateY(0) scale(1); }
40% { transform: translateY(-450px) scale(0.85); }
100% { transform: translateY(0) scale(1); }
}
@keyframes lava-up-3 {
0% { transform: translateY(0) scale(1.1); }
60% { transform: translateY(-200px) scale(0.95); }
100% { transform: translateY(0) scale(0.9); }
}
` }} />
{/* HTML Structure */}
<div
style={{ width: '100%', height: '100%' }}
dangerouslySetInnerHTML={{ __html: `
<div class="lava-container">
<div class="lava-lamp">
<div class="lava-bubble lava-bubble-1"></div>
<div class="lava-bubble lava-bubble-2"></div>
<div class="lava-bubble lava-bubble-3"></div>
</div>
</div>
` }}
/>
</div>
);
}Next.js App Router Component (use client)
'use client';
import React from 'react';
export default function LavaBlobBackground() {
return (
<div
className="w-full h-full relative overflow-hidden"
>
<style dangerouslySetInnerHTML={{ __html: `
:root {
--speed: 14s;
}
.lava-container {
position: relative;
width: 100%;
height: 100%;
background: #0f0505;
overflow: hidden;
}
.lava-lamp {
position: relative;
width: 100%;
height: 100%;
filter: contrast(18) blur(15px); /* Liquid-joining filter trick */
background: #0f0505;
}
.lava-bubble {
position: absolute;
background: #ef4444;
border-radius: 50%;
}
.lava-bubble-1 {
width: 140px;
height: 140px;
bottom: -40px;
left: 20%;
animation: lava-up-1 var(--speed) infinite ease-in-out;
}
.lava-bubble-2 {
width: 110px;
height: 110px;
bottom: -40px;
left: 55%;
animation: lava-up-2 var(--speed) infinite ease-in-out;
}
.lava-bubble-3 {
width: 160px;
height: 160px;
bottom: -80px;
left: 35%;
animation: lava-up-3 var(--speed) infinite ease-in-out alternate;
}
@keyframes lava-up-1 {
0% { transform: translateY(0) scale(1); }
50% { transform: translateY(-300px) scale(0.9); }
100% { transform: translateY(0) scale(1.1); }
}
@keyframes lava-up-2 {
0% { transform: translateY(0) scale(1); }
40% { transform: translateY(-450px) scale(0.85); }
100% { transform: translateY(0) scale(1); }
}
@keyframes lava-up-3 {
0% { transform: translateY(0) scale(1.1); }
60% { transform: translateY(-200px) scale(0.95); }
100% { transform: translateY(0) scale(0.9); }
}
` }} />
{/* HTML Structure */}
<div
className="w-full h-full"
dangerouslySetInnerHTML={{ __html: `
<div class="lava-container">
<div class="lava-lamp">
<div class="lava-bubble lava-bubble-1"></div>
<div class="lava-bubble lava-bubble-2"></div>
<div class="lava-bubble lava-bubble-3"></div>
</div>
</div>
` }}
/>
</div>
);
}Raw CSS Stylesheet Snippet
:root {
--speed: 14s;
}
.lava-container {
position: relative;
width: 100%;
height: 100%;
background: #0f0505;
overflow: hidden;
}
.lava-lamp {
position: relative;
width: 100%;
height: 100%;
filter: contrast(18) blur(15px); /* Liquid-joining filter trick */
background: #0f0505;
}
.lava-bubble {
position: absolute;
background: #ef4444;
border-radius: 50%;
}
.lava-bubble-1 {
width: 140px;
height: 140px;
bottom: -40px;
left: 20%;
animation: lava-up-1 var(--speed) infinite ease-in-out;
}
.lava-bubble-2 {
width: 110px;
height: 110px;
bottom: -40px;
left: 55%;
animation: lava-up-2 var(--speed) infinite ease-in-out;
}
.lava-bubble-3 {
width: 160px;
height: 160px;
bottom: -80px;
left: 35%;
animation: lava-up-3 var(--speed) infinite ease-in-out alternate;
}
@keyframes lava-up-1 {
0% { transform: translateY(0) scale(1); }
50% { transform: translateY(-300px) scale(0.9); }
100% { transform: translateY(0) scale(1.1); }
}
@keyframes lava-up-2 {
0% { transform: translateY(0) scale(1); }
40% { transform: translateY(-450px) scale(0.85); }
100% { transform: translateY(0) scale(1); }
}
@keyframes lava-up-3 {
0% { transform: translateY(0) scale(1.1); }
60% { transform: translateY(-200px) scale(0.95); }
100% { transform: translateY(0) scale(0.9); }
}