Racing Speed Stripes
🟢 CSS OnlyHigh speed glowing streaks passing horizontally across the view at varied heights, mimicking motion speeds.
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 Lines
Loading Canvas Shader...
Infinite Vertical Lines
Slender vertical structural lines drifting slowly from right to left in multiple opacity variables.
Loading Canvas Shader...
Laser Scan Lines
Horizontal neon-red tracking scanner lines sliding down the monitor surface like visual target frames.
Loading Canvas Shader...
Wireframe Shift Lines
An interactive-looking matrix of angled wireframe lines sliding across one another to form tech backplates.
Racing Speed Stripes - CSS-only Lines background for React & Tailwind
Integrate the Racing Speed Stripes 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>Racing Speed Stripes</title>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #09090b;
}
:root {
--speed: 1.5s;
}
.speed-container {
position: relative;
width: 100%;
height: 100%;
background: #07070a;
overflow: hidden;
}
.streak {
position: absolute;
height: 1px;
background: linear-gradient(90deg, transparent, #18c5ff, transparent);
width: 150px;
will-change: transform;
}
.streak-1 { top: 25%; left: 0; animation: speed-dash var(--speed) linear infinite; }
.streak-2 { top: 55%; left: 0; animation: speed-dash 1s linear infinite 0.3s; }
.streak-3 { top: 80%; left: 0; animation: speed-dash 2s linear infinite 0.7s; }
@keyframes speed-dash {
0% { transform: translateX(-150px); }
100% { transform: translateX(100vw); }
}
</style>
</head>
<body>
<div class="speed-container">
<div class="streak streak-1"></div>
<div class="streak streak-2"></div>
<div class="streak streak-3"></div>
</div>
</body>
</html>React Component Wrapper (TSX)
import React from 'react';
export default function RacingSpeedStripesBackground() {
return (
<div
style={{ width: '100%', height: '100%', position: 'relative', overflow: 'hidden' }}
>
<style dangerouslySetInnerHTML={{ __html: `
:root {
--speed: 1.5s;
}
.speed-container {
position: relative;
width: 100%;
height: 100%;
background: #07070a;
overflow: hidden;
}
.streak {
position: absolute;
height: 1px;
background: linear-gradient(90deg, transparent, #18c5ff, transparent);
width: 150px;
will-change: transform;
}
.streak-1 { top: 25%; left: 0; animation: speed-dash var(--speed) linear infinite; }
.streak-2 { top: 55%; left: 0; animation: speed-dash 1s linear infinite 0.3s; }
.streak-3 { top: 80%; left: 0; animation: speed-dash 2s linear infinite 0.7s; }
@keyframes speed-dash {
0% { transform: translateX(-150px); }
100% { transform: translateX(100vw); }
}
` }} />
{/* HTML Structure */}
<div
style={{ width: '100%', height: '100%' }}
dangerouslySetInnerHTML={{ __html: `
<div class="speed-container">
<div class="streak streak-1"></div>
<div class="streak streak-2"></div>
<div class="streak streak-3"></div>
</div>
` }}
/>
</div>
);
}Next.js App Router Component (use client)
'use client';
import React from 'react';
export default function RacingSpeedStripesBackground() {
return (
<div
className="w-full h-full relative overflow-hidden"
>
<style dangerouslySetInnerHTML={{ __html: `
:root {
--speed: 1.5s;
}
.speed-container {
position: relative;
width: 100%;
height: 100%;
background: #07070a;
overflow: hidden;
}
.streak {
position: absolute;
height: 1px;
background: linear-gradient(90deg, transparent, #18c5ff, transparent);
width: 150px;
will-change: transform;
}
.streak-1 { top: 25%; left: 0; animation: speed-dash var(--speed) linear infinite; }
.streak-2 { top: 55%; left: 0; animation: speed-dash 1s linear infinite 0.3s; }
.streak-3 { top: 80%; left: 0; animation: speed-dash 2s linear infinite 0.7s; }
@keyframes speed-dash {
0% { transform: translateX(-150px); }
100% { transform: translateX(100vw); }
}
` }} />
{/* HTML Structure */}
<div
className="w-full h-full"
dangerouslySetInnerHTML={{ __html: `
<div class="speed-container">
<div class="streak streak-1"></div>
<div class="streak streak-2"></div>
<div class="streak streak-3"></div>
</div>
` }}
/>
</div>
);
}Raw CSS Stylesheet Snippet
:root {
--speed: 1.5s;
}
.speed-container {
position: relative;
width: 100%;
height: 100%;
background: #07070a;
overflow: hidden;
}
.streak {
position: absolute;
height: 1px;
background: linear-gradient(90deg, transparent, #18c5ff, transparent);
width: 150px;
will-change: transform;
}
.streak-1 { top: 25%; left: 0; animation: speed-dash var(--speed) linear infinite; }
.streak-2 { top: 55%; left: 0; animation: speed-dash 1s linear infinite 0.3s; }
.streak-3 { top: 80%; left: 0; animation: speed-dash 2s linear infinite 0.7s; }
@keyframes speed-dash {
0% { transform: translateX(-150px); }
100% { transform: translateX(100vw); }
}