VHS Chromatic Aberration
🟢 CSS OnlyA nostalgic analog VHS videotape experience with chromatic aberration, horizontal tracking distortions, and rolling noise lines.
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 Retro
Loading Canvas Shader...
Cyberpunk Matrix Glitch
A raining matrix grid overlaid with heavy chromatic aberration and periodic digital tear-glitch triggers.
Loading Canvas Shader...
Retro Neon Grid Flicker
A clean scrolling neon grid featuring a nostalgic color overlay and gentle VHS-style horizontal glitch lines.
Loading Canvas Shader...
CRT Phosphor Jitter
Retro computing terminals with flickering green phosphor lines, vertical scroll rolls, and occasional high-contrast pixel jitter.
VHS Chromatic Aberration - CSS-only Retro background for React & Tailwind
Integrate the VHS Chromatic Aberration 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>VHS Chromatic Aberration</title>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #09090b;
}
:root {
--color-1: #ff0055;
--color-2: #00ffcc;
--color-bg: #0b0813;
}
.vhs-container {
position: relative;
width: 100%;
height: 100%;
background: var(--color-bg);
overflow: hidden;
font-family: monospace;
}
.vhs-rgb-red, .vhs-rgb-blue {
position: absolute;
inset: 0;
background: radial-gradient(circle at center, rgba(124, 92, 255, 0.15) 0%, transparent 70%);
}
.vhs-rgb-red {
box-shadow: inset 0 0 100px rgba(255, 0, 85, 0.2);
animation: vhs-rgb-red-drift 4s infinite linear;
}
.vhs-rgb-blue {
box-shadow: inset 0 0 100px rgba(0, 255, 204, 0.2);
animation: vhs-rgb-blue-drift 4s infinite linear;
}
.vhs-noise {
position: absolute;
inset: 0;
background-image:
radial-gradient(circle at 50% 50%, transparent 50%, rgba(0,0,0,0.5)),
repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 2px);
opacity: 0.85;
}
.vhs-noise::after {
content: "";
position: absolute;
top: -100%;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
to bottom,
transparent 0%,
rgba(255, 255, 255, 0) 40%,
rgba(255, 255, 255, 0.15) 42%,
rgba(255, 255, 255, 0.25) 45%,
rgba(255, 255, 255, 0.15) 48%,
rgba(255, 255, 255, 0) 50%,
transparent 100%
);
animation: vhs-tracking-bar 6s infinite linear;
}
.vhs-scanlines {
position: absolute;
inset: 0;
background: linear-gradient(
rgba(18, 16, 16, 0) 50%,
rgba(0, 0, 0, 0.25) 50%
), linear-gradient(
90deg,
rgba(255, 0, 0, 0.06),
rgba(0, 255, 0, 0.02),
rgba(0, 0, 255, 0.06)
);
background-size: 100% 4px, 6px 100%;
}
.vhs-overlay-text {
position: absolute;
top: 10%;
left: 8%;
color: #00ffcc;
font-size: 24px;
font-weight: bold;
letter-spacing: 2px;
text-shadow: 2px 0 #ff0055, -2px 0 #00ffff;
opacity: 0.8;
animation: vhs-flicker 1.5s infinite steps(1);
}
@keyframes vhs-rgb-red-drift {
0%, 100% { transform: translate(0, 0) scale(1); filter: hue-rotate(0deg); }
20% { transform: translate(-3px, 2px) scale(1.01); }
40% { transform: translate(2px, -1px) scale(0.99); }
60% { transform: translate(-1px, -2px) scale(1.02); }
80% { transform: translate(3px, 1px) scale(1); }
}
@keyframes vhs-rgb-blue-drift {
0%, 100% { transform: translate(0, 0) scale(1); }
15% { transform: translate(2px, -3px) scale(0.99); }
35% { transform: translate(-2px, 1px) scale(1.02); }
55% { transform: translate(1px, 3px) scale(1.01); }
75% { transform: translate(-3px, -1px) scale(0.98); }
}
@keyframes vhs-tracking-bar {
0% { top: -100%; }
100% { top: 100%; }
}
@keyframes vhs-flicker {
0%, 100% { opacity: 0.8; }
10% { opacity: 0.4; }
11% { opacity: 0.8; }
30% { opacity: 0.8; transform: skewX(5deg); }
32% { opacity: 0.8; transform: skewX(0deg); }
50% { opacity: 0.1; }
52% { opacity: 0.9; }
80% { opacity: 0.8; transform: scaleY(1.1); }
82% { opacity: 0.8; transform: scaleY(1); }
}
</style>
</head>
<body>
<div class="vhs-container">
<div class="vhs-rgb-red"></div>
<div class="vhs-rgb-blue"></div>
<div class="vhs-noise"></div>
<div class="vhs-scanlines"></div>
<div class="vhs-overlay-text">PLAY</div>
</div>
</body>
</html>React Component Wrapper (TSX)
import React from 'react';
export default function VHSChromaticAberrationBackground() {
return (
<div
style={{ width: '100%', height: '100%', position: 'relative', overflow: 'hidden' }}
>
<style dangerouslySetInnerHTML={{ __html: `
:root {
--color-1: #ff0055;
--color-2: #00ffcc;
--color-bg: #0b0813;
}
.vhs-container {
position: relative;
width: 100%;
height: 100%;
background: var(--color-bg);
overflow: hidden;
font-family: monospace;
}
.vhs-rgb-red, .vhs-rgb-blue {
position: absolute;
inset: 0;
background: radial-gradient(circle at center, rgba(124, 92, 255, 0.15) 0%, transparent 70%);
}
.vhs-rgb-red {
box-shadow: inset 0 0 100px rgba(255, 0, 85, 0.2);
animation: vhs-rgb-red-drift 4s infinite linear;
}
.vhs-rgb-blue {
box-shadow: inset 0 0 100px rgba(0, 255, 204, 0.2);
animation: vhs-rgb-blue-drift 4s infinite linear;
}
.vhs-noise {
position: absolute;
inset: 0;
background-image:
radial-gradient(circle at 50% 50%, transparent 50%, rgba(0,0,0,0.5)),
repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 2px);
opacity: 0.85;
}
.vhs-noise::after {
content: "";
position: absolute;
top: -100%;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
to bottom,
transparent 0%,
rgba(255, 255, 255, 0) 40%,
rgba(255, 255, 255, 0.15) 42%,
rgba(255, 255, 255, 0.25) 45%,
rgba(255, 255, 255, 0.15) 48%,
rgba(255, 255, 255, 0) 50%,
transparent 100%
);
animation: vhs-tracking-bar 6s infinite linear;
}
.vhs-scanlines {
position: absolute;
inset: 0;
background: linear-gradient(
rgba(18, 16, 16, 0) 50%,
rgba(0, 0, 0, 0.25) 50%
), linear-gradient(
90deg,
rgba(255, 0, 0, 0.06),
rgba(0, 255, 0, 0.02),
rgba(0, 0, 255, 0.06)
);
background-size: 100% 4px, 6px 100%;
}
.vhs-overlay-text {
position: absolute;
top: 10%;
left: 8%;
color: #00ffcc;
font-size: 24px;
font-weight: bold;
letter-spacing: 2px;
text-shadow: 2px 0 #ff0055, -2px 0 #00ffff;
opacity: 0.8;
animation: vhs-flicker 1.5s infinite steps(1);
}
@keyframes vhs-rgb-red-drift {
0%, 100% { transform: translate(0, 0) scale(1); filter: hue-rotate(0deg); }
20% { transform: translate(-3px, 2px) scale(1.01); }
40% { transform: translate(2px, -1px) scale(0.99); }
60% { transform: translate(-1px, -2px) scale(1.02); }
80% { transform: translate(3px, 1px) scale(1); }
}
@keyframes vhs-rgb-blue-drift {
0%, 100% { transform: translate(0, 0) scale(1); }
15% { transform: translate(2px, -3px) scale(0.99); }
35% { transform: translate(-2px, 1px) scale(1.02); }
55% { transform: translate(1px, 3px) scale(1.01); }
75% { transform: translate(-3px, -1px) scale(0.98); }
}
@keyframes vhs-tracking-bar {
0% { top: -100%; }
100% { top: 100%; }
}
@keyframes vhs-flicker {
0%, 100% { opacity: 0.8; }
10% { opacity: 0.4; }
11% { opacity: 0.8; }
30% { opacity: 0.8; transform: skewX(5deg); }
32% { opacity: 0.8; transform: skewX(0deg); }
50% { opacity: 0.1; }
52% { opacity: 0.9; }
80% { opacity: 0.8; transform: scaleY(1.1); }
82% { opacity: 0.8; transform: scaleY(1); }
}
` }} />
{/* HTML Structure */}
<div
style={{ width: '100%', height: '100%' }}
dangerouslySetInnerHTML={{ __html: `
<div class="vhs-container">
<div class="vhs-rgb-red"></div>
<div class="vhs-rgb-blue"></div>
<div class="vhs-noise"></div>
<div class="vhs-scanlines"></div>
<div class="vhs-overlay-text">PLAY</div>
</div>
` }}
/>
</div>
);
}Next.js App Router Component (use client)
'use client';
import React from 'react';
export default function VHSChromaticAberrationBackground() {
return (
<div
className="w-full h-full relative overflow-hidden"
>
<style dangerouslySetInnerHTML={{ __html: `
:root {
--color-1: #ff0055;
--color-2: #00ffcc;
--color-bg: #0b0813;
}
.vhs-container {
position: relative;
width: 100%;
height: 100%;
background: var(--color-bg);
overflow: hidden;
font-family: monospace;
}
.vhs-rgb-red, .vhs-rgb-blue {
position: absolute;
inset: 0;
background: radial-gradient(circle at center, rgba(124, 92, 255, 0.15) 0%, transparent 70%);
}
.vhs-rgb-red {
box-shadow: inset 0 0 100px rgba(255, 0, 85, 0.2);
animation: vhs-rgb-red-drift 4s infinite linear;
}
.vhs-rgb-blue {
box-shadow: inset 0 0 100px rgba(0, 255, 204, 0.2);
animation: vhs-rgb-blue-drift 4s infinite linear;
}
.vhs-noise {
position: absolute;
inset: 0;
background-image:
radial-gradient(circle at 50% 50%, transparent 50%, rgba(0,0,0,0.5)),
repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 2px);
opacity: 0.85;
}
.vhs-noise::after {
content: "";
position: absolute;
top: -100%;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
to bottom,
transparent 0%,
rgba(255, 255, 255, 0) 40%,
rgba(255, 255, 255, 0.15) 42%,
rgba(255, 255, 255, 0.25) 45%,
rgba(255, 255, 255, 0.15) 48%,
rgba(255, 255, 255, 0) 50%,
transparent 100%
);
animation: vhs-tracking-bar 6s infinite linear;
}
.vhs-scanlines {
position: absolute;
inset: 0;
background: linear-gradient(
rgba(18, 16, 16, 0) 50%,
rgba(0, 0, 0, 0.25) 50%
), linear-gradient(
90deg,
rgba(255, 0, 0, 0.06),
rgba(0, 255, 0, 0.02),
rgba(0, 0, 255, 0.06)
);
background-size: 100% 4px, 6px 100%;
}
.vhs-overlay-text {
position: absolute;
top: 10%;
left: 8%;
color: #00ffcc;
font-size: 24px;
font-weight: bold;
letter-spacing: 2px;
text-shadow: 2px 0 #ff0055, -2px 0 #00ffff;
opacity: 0.8;
animation: vhs-flicker 1.5s infinite steps(1);
}
@keyframes vhs-rgb-red-drift {
0%, 100% { transform: translate(0, 0) scale(1); filter: hue-rotate(0deg); }
20% { transform: translate(-3px, 2px) scale(1.01); }
40% { transform: translate(2px, -1px) scale(0.99); }
60% { transform: translate(-1px, -2px) scale(1.02); }
80% { transform: translate(3px, 1px) scale(1); }
}
@keyframes vhs-rgb-blue-drift {
0%, 100% { transform: translate(0, 0) scale(1); }
15% { transform: translate(2px, -3px) scale(0.99); }
35% { transform: translate(-2px, 1px) scale(1.02); }
55% { transform: translate(1px, 3px) scale(1.01); }
75% { transform: translate(-3px, -1px) scale(0.98); }
}
@keyframes vhs-tracking-bar {
0% { top: -100%; }
100% { top: 100%; }
}
@keyframes vhs-flicker {
0%, 100% { opacity: 0.8; }
10% { opacity: 0.4; }
11% { opacity: 0.8; }
30% { opacity: 0.8; transform: skewX(5deg); }
32% { opacity: 0.8; transform: skewX(0deg); }
50% { opacity: 0.1; }
52% { opacity: 0.9; }
80% { opacity: 0.8; transform: scaleY(1.1); }
82% { opacity: 0.8; transform: scaleY(1); }
}
` }} />
{/* HTML Structure */}
<div
className="w-full h-full"
dangerouslySetInnerHTML={{ __html: `
<div class="vhs-container">
<div class="vhs-rgb-red"></div>
<div class="vhs-rgb-blue"></div>
<div class="vhs-noise"></div>
<div class="vhs-scanlines"></div>
<div class="vhs-overlay-text">PLAY</div>
</div>
` }}
/>
</div>
);
}Raw CSS Stylesheet Snippet
:root {
--color-1: #ff0055;
--color-2: #00ffcc;
--color-bg: #0b0813;
}
.vhs-container {
position: relative;
width: 100%;
height: 100%;
background: var(--color-bg);
overflow: hidden;
font-family: monospace;
}
.vhs-rgb-red, .vhs-rgb-blue {
position: absolute;
inset: 0;
background: radial-gradient(circle at center, rgba(124, 92, 255, 0.15) 0%, transparent 70%);
}
.vhs-rgb-red {
box-shadow: inset 0 0 100px rgba(255, 0, 85, 0.2);
animation: vhs-rgb-red-drift 4s infinite linear;
}
.vhs-rgb-blue {
box-shadow: inset 0 0 100px rgba(0, 255, 204, 0.2);
animation: vhs-rgb-blue-drift 4s infinite linear;
}
.vhs-noise {
position: absolute;
inset: 0;
background-image:
radial-gradient(circle at 50% 50%, transparent 50%, rgba(0,0,0,0.5)),
repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 2px);
opacity: 0.85;
}
.vhs-noise::after {
content: "";
position: absolute;
top: -100%;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
to bottom,
transparent 0%,
rgba(255, 255, 255, 0) 40%,
rgba(255, 255, 255, 0.15) 42%,
rgba(255, 255, 255, 0.25) 45%,
rgba(255, 255, 255, 0.15) 48%,
rgba(255, 255, 255, 0) 50%,
transparent 100%
);
animation: vhs-tracking-bar 6s infinite linear;
}
.vhs-scanlines {
position: absolute;
inset: 0;
background: linear-gradient(
rgba(18, 16, 16, 0) 50%,
rgba(0, 0, 0, 0.25) 50%
), linear-gradient(
90deg,
rgba(255, 0, 0, 0.06),
rgba(0, 255, 0, 0.02),
rgba(0, 0, 255, 0.06)
);
background-size: 100% 4px, 6px 100%;
}
.vhs-overlay-text {
position: absolute;
top: 10%;
left: 8%;
color: #00ffcc;
font-size: 24px;
font-weight: bold;
letter-spacing: 2px;
text-shadow: 2px 0 #ff0055, -2px 0 #00ffff;
opacity: 0.8;
animation: vhs-flicker 1.5s infinite steps(1);
}
@keyframes vhs-rgb-red-drift {
0%, 100% { transform: translate(0, 0) scale(1); filter: hue-rotate(0deg); }
20% { transform: translate(-3px, 2px) scale(1.01); }
40% { transform: translate(2px, -1px) scale(0.99); }
60% { transform: translate(-1px, -2px) scale(1.02); }
80% { transform: translate(3px, 1px) scale(1); }
}
@keyframes vhs-rgb-blue-drift {
0%, 100% { transform: translate(0, 0) scale(1); }
15% { transform: translate(2px, -3px) scale(0.99); }
35% { transform: translate(-2px, 1px) scale(1.02); }
55% { transform: translate(1px, 3px) scale(1.01); }
75% { transform: translate(-3px, -1px) scale(0.98); }
}
@keyframes vhs-tracking-bar {
0% { top: -100%; }
100% { top: 100%; }
}
@keyframes vhs-flicker {
0%, 100% { opacity: 0.8; }
10% { opacity: 0.4; }
11% { opacity: 0.8; }
30% { opacity: 0.8; transform: skewX(5deg); }
32% { opacity: 0.8; transform: skewX(0deg); }
50% { opacity: 0.1; }
52% { opacity: 0.9; }
80% { opacity: 0.8; transform: scaleY(1.1); }
82% { opacity: 0.8; transform: scaleY(1); }
}