DevPlatform
Home
Components
Search
Submit
Earn
Login
Sign Up Free
Animated 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
Animated Text
jitesh208
Jan 17, 2026
3
0
Share
Live Preview
Refresh
Live Editor
HTML
CSS
JS
HTML
CSS
JavaScript
1
<h1 class="text-center font-semibold leading-none"> <span style="font-size: 6rem" class="block">One API</span> <span style="font-size: 12rem" class="dotted">to rule them all.</span> </h1>
1
body{ background:#000; } .dotted { background-position: 0px 4px; background-size: 8px 8px; background-clip: text; background-image: radial-gradient( circle at 2px 2px, var(--animated-color) 1px, transparent 0 ); color: transparent; } @media (prefers-reduced-motion: no-preference) { @property --animated-color { syntax: "<color>"; initial-value: oklch(from lime l c 0deg); inherits: false; } @keyframes scrollBg { 50% { --animated-color: oklch(from lime l c 240deg); } 100% { background-position: -32px 4px; } } .dotted { animation: scrollBg 10s linear infinite forwards; } }
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!