DevPlatform
Home
Components
Search
Submit
Earn
Login
Sign Up Free
Loading Text - 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
Loading Text
jitesh208
Jan 21, 2026
4
0
Share
Live Preview
Refresh
Live Editor
HTML
CSS
JS
HTML
CSS
JavaScript
1
<div class="loader-container"> <div class="loader"> <div class="cube"></div> <div class="cube"></div> <div class="cube"></div> <div class="cube"></div> <div class="cube"></div> </div> <div class="loader-text"> LOADING<span class="dot">.</span><span class="dot">.</span><span class="dot">.</span> </div> </div>
1
body { margin: 0; padding: 0; min-height: 100vh; display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); font-family: Arial, sans-serif; } .loader-container { position: relative; } .loader { width: 120px; height: 120px; position: relative; } .cube { position: absolute; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.9); border-radius: 4px; animation: cubeMove 2s ease-in-out infinite; } .cube:nth-child(1) { top: 0; left: 0; animation-delay: 0s; } .cube:nth-child(2) { top: 0; right: 0; animation-delay: 0.2s; } .cube:nth-child(3) { bottom: 0; right: 0; animation-delay: 0.4s; } .cube:nth-child(4) { bottom: 0; left: 0; animation-delay: 0.6s; } .cube:nth-child(5) { top: 40px; left: 40px; animation-delay: 0.8s; background: rgba(255, 255, 255, 0.7); } @keyframes cubeMove { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 25% { transform: scale(0.5) rotate(90deg); opacity: 0.7; } 50% { transform: scale(1.2) rotate(180deg); opacity: 1; } 75% { transform: scale(0.8) rotate(270deg); opacity: 0.8; } } .loader-text { position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); color: white; font-size: 18px; font-weight: 600; letter-spacing: 2px; animation: pulse 1.5s ease-in-out infinite; } @keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } } .dot { display: inline-block; animation: dotPulse 1.5s ease-in-out infinite; } .dot:nth-child(2) { animation-delay: 0.2s; } .dot:nth-child(3) { animation-delay: 0.4s; } @keyframes dotPulse { 0%, 60%, 100% { opacity: 0; } 30% { opacity: 1; } }
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!