DevPlatform
Home
Components
Search
Submit
Earn
Login
Sign Up Free
Start Free Trial Button - 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
Start Free Trial Button
rohitwushu
Jan 27, 2026
3
0
Share
Live Preview
Refresh
Live Editor
HTML
CSS
JS
HTML
CSS
JavaScript
1
<div class="button-wrapper"> <button class="animated-button"> <div class="arrows-left"> <span>›</span> <span>›</span> <span>›</span> </div> <span class="button-text">Start free trial</span> <div class="arrows-right"> <span>‹</span> <span>‹</span> <span>‹</span> </div> </button> </div>
1
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f5f5; min-height: 100vh; display: flex; align-items: center; justify-content: center; } /* Button Container */ .button-wrapper { display: inline-block; } /* Main Button */ .animated-button { background: #000000; color: #ffffff; border: none; border-radius: 50px; padding: 20px 50px; font-size: 20px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 15px; position: relative; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } .animated-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); background: #1a1a1a; } .animated-button:active { transform: translateY(0); } /* Arrow Containers */ .arrows-left, .arrows-right { display: flex; gap: 5px; font-size: 18px; opacity: 0.6; } /* Left Arrows Animation */ .arrows-left span { display: inline-block; animation: slideLeft 1.5s ease-in-out infinite; } .arrows-left span:nth-child(2) { animation-delay: 0.1s; } .arrows-left span:nth-child(3) { animation-delay: 0.2s; } /* Right Arrows Animation */ .arrows-right span { display: inline-block; animation: slideRight 1.5s ease-in-out infinite; } .arrows-right span:nth-child(1) { animation-delay: 0.2s; } .arrows-right span:nth-child(2) { animation-delay: 0.1s; } /* Keyframe Animations */ @keyframes slideLeft { 0%, 100% { transform: translateX(0); opacity: 0.6; } 50% { transform: translateX(-5px); opacity: 1; } } @keyframes slideRight { 0%, 100% { transform: translateX(0); opacity: 0.6; } 50% { transform: translateX(5px); opacity: 1; } } /* Button Text */ .button-text { font-size: 20px; letter-spacing: 0.5px; } /* Hover Effect - Arrows become more visible */ .animated-button:hover .arrows-left, .animated-button:hover .arrows-right { opacity: 1; } /* Responsive Design */ @media (max-width: 768px) { .animated-button { padding: 18px 40px; font-size: 18px; } .button-text { font-size: 18px; } .arrows-left, .arrows-right { font-size: 16px; } } @media (max-width: 480px) { .animated-button { padding: 15px 30px; font-size: 16px; } .button-text { font-size: 16px; } .arrows-left, .arrows-right { font-size: 14px; gap: 3px; } }
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!