DevPlatform
Home
Components
Search
Submit
Earn
Login
Sign Up Free
Marquee - Preview | DevPlatform
DevPlatform
Categories
Accordion
Animation
Box Shadow
Button
Card
Footer
Form
Gallery
Hero Section
Inputs
Loader
Marquee
Modal
Modules
Navbar
Progress Bar
Radio Buttons
Search-Bar
Sections
Slider
Tab
Timeline
Toggle
Marquee
rohitwushu
Jan 27, 2026
4
0
Share
Live Preview
Refresh
Live Editor
HTML
CSS
JS
HTML
CSS
JavaScript
1
<div class="marquee"> <div class="marquee-track"> <div class="marquee-item">🚀 Welcome to Modern Marquee</div> <div class="marquee-item">✨ Smooth CSS Animation</div> <div class="marquee-item">🎨 Beautiful Design</div> <div class="marquee-item">⚡ Fast Performance</div> <div class="marquee-item">💫 No JavaScript Required</div> <div class="marquee-item">🎯 Pure CSS Magic</div> <!-- Duplicate for seamless loop --> <div class="marquee-item">🚀 Welcome to Modern Marquee</div> <div class="marquee-item">✨ Smooth CSS Animation</div> <div class="marquee-item">🎨 Beautiful Design</div> <div class="marquee-item">⚡ Fast Performance</div> <div class="marquee-item">💫 No JavaScript Required</div> <div class="marquee-item">🎯 Pure CSS Magic</div> </div> </div>
1
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', 'Segoe UI', sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; overflow-x: hidden; } /* Marquee Container */ .marquee { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: 25px 0; overflow: hidden; position: relative; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.2); } /* Marquee Track */ .marquee-track { display: flex; width: fit-content; animation: marquee 20s linear infinite; } /* Marquee Items */ .marquee-item { font-size: 28px; font-weight: 700; color: #ffffff; padding: 0 60px; white-space: nowrap; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; } .marquee-item:hover { transform: scale(1.1); color: #ffd700; } /* Marquee Animation */ @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } /* Pause on hover */ .marquee:hover .marquee-track { animation-play-state: paused; } /* Responsive Design */ @media (max-width: 768px) { .marquee-item { font-size: 20px; padding: 0 40px; } } @media (max-width: 480px) { .marquee-item { font-size: 16px; padding: 0 30px; } }
1
Comments
0
Want to comment?
Please
login
or
sign up
to post comments.
No comments yet
Be the first to comment on this component!
Comments 0
Want to comment?
Please login or sign up to post comments.
No comments yet
Be the first to comment on this component!