Cyberpunk Matrix Glitch
🟢 CSS OnlyA raining matrix grid overlaid with heavy chromatic aberration and periodic digital tear-glitch triggers.
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...
VHS Chromatic Aberration
A nostalgic analog VHS videotape experience with chromatic aberration, horizontal tracking distortions, and rolling noise lines.
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.
Cyberpunk Matrix Glitch - CSS-only Retro background for React & Tailwind
Integrate the Cyberpunk Matrix Glitch 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>Cyberpunk Matrix Glitch</title>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #09090b;
}
:root {
--color-1: #39ff14;
--color-2: #ff007f;
--color-bg: #050508;
}
.cyber-matrix {
position: relative;
width: 100%;
height: 100%;
background: var(--color-bg);
overflow: hidden;
}
.matrix-rain {
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 0%, rgba(57, 255, 20, 0.05) 50%, rgba(57, 255, 20, 0.15) 90%, transparent 100%);
background-size: 40px 300px;
animation: matrix-fall 5s infinite linear;
opacity: 0.8;
}
.glitch-layer {
position: absolute;
inset: 0;
background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 20px, var(--color-2) 20px, var(--color-2) 21px);
background-size: 100% 20px;
opacity: 0.08;
}
.shadow-red {
animation: cyber-glitch-1 4s infinite steps(2);
}
.shadow-cyan {
animation: cyber-glitch-2 3.5s infinite steps(1);
background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 15px, var(--color-1) 15px, var(--color-1) 16px);
}
.grid-overlay {
position: absolute;
inset: 0;
background:
linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
background-size: 20px 20px;
animation: grid-flicker 10s infinite linear;
}
@keyframes matrix-fall {
0% { background-position: 0% -300px; }
100% { background-position: 0% 1000px; }
}
@keyframes cyber-glitch-1 {
0%, 90%, 100% { transform: translateX(0) skewX(0deg); opacity: 0.05; }
91% { transform: translateX(10px) skewX(10deg); opacity: 0.4; }
93% { transform: translateX(-15px) skewX(-15deg); opacity: 0.3; }
95% { transform: translateX(5px) skewX(5deg); opacity: 0.1; }
}
@keyframes cyber-glitch-2 {
0%, 85%, 100% { transform: translateY(0) scaleY(1); opacity: 0.05; }
86% { transform: translateY(5px) scaleY(1.05); opacity: 0.3; }
88% { transform: translateY(-8px) scaleY(0.95); opacity: 0.4; }
90% { transform: translateY(2px) scaleY(1); opacity: 0.1; }
}
@keyframes grid-flicker {
0%, 45%, 55%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
</style>
</head>
<body>
<div class="cyber-matrix">
<div class="matrix-rain"></div>
<div class="glitch-layer shadow-red"></div>
<div class="glitch-layer shadow-cyan"></div>
<div class="grid-overlay"></div>
</div>
</body>
</html>React Component Wrapper (TSX)
import React from 'react';
export default function CyberpunkMatrixGlitchBackground() {
return (
<div
style={{ width: '100%', height: '100%', position: 'relative', overflow: 'hidden' }}
>
<style dangerouslySetInnerHTML={{ __html: `
:root {
--color-1: #39ff14;
--color-2: #ff007f;
--color-bg: #050508;
}
.cyber-matrix {
position: relative;
width: 100%;
height: 100%;
background: var(--color-bg);
overflow: hidden;
}
.matrix-rain {
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 0%, rgba(57, 255, 20, 0.05) 50%, rgba(57, 255, 20, 0.15) 90%, transparent 100%);
background-size: 40px 300px;
animation: matrix-fall 5s infinite linear;
opacity: 0.8;
}
.glitch-layer {
position: absolute;
inset: 0;
background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 20px, var(--color-2) 20px, var(--color-2) 21px);
background-size: 100% 20px;
opacity: 0.08;
}
.shadow-red {
animation: cyber-glitch-1 4s infinite steps(2);
}
.shadow-cyan {
animation: cyber-glitch-2 3.5s infinite steps(1);
background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 15px, var(--color-1) 15px, var(--color-1) 16px);
}
.grid-overlay {
position: absolute;
inset: 0;
background:
linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
background-size: 20px 20px;
animation: grid-flicker 10s infinite linear;
}
@keyframes matrix-fall {
0% { background-position: 0% -300px; }
100% { background-position: 0% 1000px; }
}
@keyframes cyber-glitch-1 {
0%, 90%, 100% { transform: translateX(0) skewX(0deg); opacity: 0.05; }
91% { transform: translateX(10px) skewX(10deg); opacity: 0.4; }
93% { transform: translateX(-15px) skewX(-15deg); opacity: 0.3; }
95% { transform: translateX(5px) skewX(5deg); opacity: 0.1; }
}
@keyframes cyber-glitch-2 {
0%, 85%, 100% { transform: translateY(0) scaleY(1); opacity: 0.05; }
86% { transform: translateY(5px) scaleY(1.05); opacity: 0.3; }
88% { transform: translateY(-8px) scaleY(0.95); opacity: 0.4; }
90% { transform: translateY(2px) scaleY(1); opacity: 0.1; }
}
@keyframes grid-flicker {
0%, 45%, 55%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
` }} />
{/* HTML Structure */}
<div
style={{ width: '100%', height: '100%' }}
dangerouslySetInnerHTML={{ __html: `
<div class="cyber-matrix">
<div class="matrix-rain"></div>
<div class="glitch-layer shadow-red"></div>
<div class="glitch-layer shadow-cyan"></div>
<div class="grid-overlay"></div>
</div>
` }}
/>
</div>
);
}Next.js App Router Component (use client)
'use client';
import React from 'react';
export default function CyberpunkMatrixGlitchBackground() {
return (
<div
className="w-full h-full relative overflow-hidden"
>
<style dangerouslySetInnerHTML={{ __html: `
:root {
--color-1: #39ff14;
--color-2: #ff007f;
--color-bg: #050508;
}
.cyber-matrix {
position: relative;
width: 100%;
height: 100%;
background: var(--color-bg);
overflow: hidden;
}
.matrix-rain {
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 0%, rgba(57, 255, 20, 0.05) 50%, rgba(57, 255, 20, 0.15) 90%, transparent 100%);
background-size: 40px 300px;
animation: matrix-fall 5s infinite linear;
opacity: 0.8;
}
.glitch-layer {
position: absolute;
inset: 0;
background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 20px, var(--color-2) 20px, var(--color-2) 21px);
background-size: 100% 20px;
opacity: 0.08;
}
.shadow-red {
animation: cyber-glitch-1 4s infinite steps(2);
}
.shadow-cyan {
animation: cyber-glitch-2 3.5s infinite steps(1);
background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 15px, var(--color-1) 15px, var(--color-1) 16px);
}
.grid-overlay {
position: absolute;
inset: 0;
background:
linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
background-size: 20px 20px;
animation: grid-flicker 10s infinite linear;
}
@keyframes matrix-fall {
0% { background-position: 0% -300px; }
100% { background-position: 0% 1000px; }
}
@keyframes cyber-glitch-1 {
0%, 90%, 100% { transform: translateX(0) skewX(0deg); opacity: 0.05; }
91% { transform: translateX(10px) skewX(10deg); opacity: 0.4; }
93% { transform: translateX(-15px) skewX(-15deg); opacity: 0.3; }
95% { transform: translateX(5px) skewX(5deg); opacity: 0.1; }
}
@keyframes cyber-glitch-2 {
0%, 85%, 100% { transform: translateY(0) scaleY(1); opacity: 0.05; }
86% { transform: translateY(5px) scaleY(1.05); opacity: 0.3; }
88% { transform: translateY(-8px) scaleY(0.95); opacity: 0.4; }
90% { transform: translateY(2px) scaleY(1); opacity: 0.1; }
}
@keyframes grid-flicker {
0%, 45%, 55%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
` }} />
{/* HTML Structure */}
<div
className="w-full h-full"
dangerouslySetInnerHTML={{ __html: `
<div class="cyber-matrix">
<div class="matrix-rain"></div>
<div class="glitch-layer shadow-red"></div>
<div class="glitch-layer shadow-cyan"></div>
<div class="grid-overlay"></div>
</div>
` }}
/>
</div>
);
}Raw CSS Stylesheet Snippet
:root {
--color-1: #39ff14;
--color-2: #ff007f;
--color-bg: #050508;
}
.cyber-matrix {
position: relative;
width: 100%;
height: 100%;
background: var(--color-bg);
overflow: hidden;
}
.matrix-rain {
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 0%, rgba(57, 255, 20, 0.05) 50%, rgba(57, 255, 20, 0.15) 90%, transparent 100%);
background-size: 40px 300px;
animation: matrix-fall 5s infinite linear;
opacity: 0.8;
}
.glitch-layer {
position: absolute;
inset: 0;
background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 20px, var(--color-2) 20px, var(--color-2) 21px);
background-size: 100% 20px;
opacity: 0.08;
}
.shadow-red {
animation: cyber-glitch-1 4s infinite steps(2);
}
.shadow-cyan {
animation: cyber-glitch-2 3.5s infinite steps(1);
background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 15px, var(--color-1) 15px, var(--color-1) 16px);
}
.grid-overlay {
position: absolute;
inset: 0;
background:
linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
background-size: 20px 20px;
animation: grid-flicker 10s infinite linear;
}
@keyframes matrix-fall {
0% { background-position: 0% -300px; }
100% { background-position: 0% 1000px; }
}
@keyframes cyber-glitch-1 {
0%, 90%, 100% { transform: translateX(0) skewX(0deg); opacity: 0.05; }
91% { transform: translateX(10px) skewX(10deg); opacity: 0.4; }
93% { transform: translateX(-15px) skewX(-15deg); opacity: 0.3; }
95% { transform: translateX(5px) skewX(5deg); opacity: 0.1; }
}
@keyframes cyber-glitch-2 {
0%, 85%, 100% { transform: translateY(0) scaleY(1); opacity: 0.05; }
86% { transform: translateY(5px) scaleY(1.05); opacity: 0.3; }
88% { transform: translateY(-8px) scaleY(0.95); opacity: 0.4; }
90% { transform: translateY(2px) scaleY(1); opacity: 0.1; }
}
@keyframes grid-flicker {
0%, 45%, 55%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}