DevPlatform
Home
Components
Search
Submit
Earn
Login
Sign Up Free
Get Started - 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
Get Started
admin1234
Feb 06, 2026
8
0
Share
Live Preview
Refresh
Live Editor
HTML
CSS
JS
HTML
CSS
JavaScript
1
<div class="btn-wrap"> <button class="btn"> Get Started <span class="arrow-box"> <svg viewBox="0 0 24 24"> <path d="M5 12h14M13 5l6 7-6 7"/> </svg> </span> </button> </div>
1
body{ margin:0; min-height:100vh; display:flex; align-items:center; justify-content:center; background:#ffffff; font-family: system-ui, -apple-system, Segoe UI, Roboto; } /* Outer capsule */ .btn-wrap{ background:#f2f2f2; border-radius:999px; padding:6px; box-shadow:0 10px 25px rgba(0,0,0,.12); } /* Button */ .btn{ position:relative; display:flex; align-items:center; gap:18px; padding:16px 28px; background:#ffffff; border-radius:999px; border:none; cursor:pointer; font-size:22px; font-weight:700; color:#000; box-shadow: inset 0 2px 3px rgba(255,255,255,.9), 0 6px 14px rgba(0,0,0,.15); transition: padding-right .35s ease; } /* Arrow container */ .arrow-box{ width:48px; height:48px; background:#f2f2f2; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow: inset 0 2px 3px rgba(255,255,255,.9), 0 4px 10px rgba(0,0,0,.15); transition: transform .35s ease; } /* Arrow SVG */ .arrow-box svg{ width:22px; height:22px; stroke:#000; stroke-width:2.5; fill:none; } /* Hover effect (matches image feel) */ .btn:hover{ padding-right:18px; } .btn:hover .arrow-box{ transform: translateX(6px); } /* Press */ .btn:active{ transform: translateY(1px); }body{ margin:0; min-height:100vh; display:flex; align-items:center; justify-content:center; background:#ffffff; font-family: system-ui, -apple-system, Segoe UI, Roboto; } /* Outer capsule */ .btn-wrap{ background:#f2f2f2; border-radius:999px; padding:6px; box-shadow:0 10px 25px rgba(0,0,0,.12); } /* Button */ .btn{ position:relative; display:flex; align-items:center; gap:18px; padding:16px 28px; background:#ffffff; border-radius:999px; border:none; cursor:pointer; font-size:22px; font-weight:700; color:#000; box-shadow: inset 0 2px 3px rgba(255,255,255,.9), 0 6px 14px rgba(0,0,0,.15); transition: padding-right .35s ease; } /* Arrow container */ .arrow-box{ width:48px; height:48px; background:#f2f2f2; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow: inset 0 2px 3px rgba(255,255,255,.9), 0 4px 10px rgba(0,0,0,.15); transition: transform .35s ease; } /* Arrow SVG */ .arrow-box svg{ width:22px; height:22px; stroke:#000; stroke-width:2.5; fill:none; } /* Hover effect (matches image feel) */ .btn:hover{ padding-right:18px; } .btn:hover .arrow-box{ transform: translateX(6px); } /* Press */ .btn:active{ transform: translateY(1px); }
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!