DevPlatform
Home
Components
Search
Submit
Earn
Login
Sign Up Free
Neon Shadow - 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
Neon Shadow
jitesh208
Jan 17, 2026
2
0
Share
Live Preview
Refresh
Live Editor
HTML
CSS
JS
HTML
CSS
JavaScript
1
<button id="neonShadow"><span>Click me</span></button>
1
*{ padding:0px; margin:0px; box-sizing:border-box; outline:none; } body{ display:flex; align-items:center; justify-content:center; min-height:100vh; background-color:#454342 } #neonShadow{ height:50px; width:100px; border:none; border-radius:50px; transition:0.3s; background-color:rgba(156, 161, 160,0.3); animation: glow 1s infinite ; transition:0.5s; } span{ display: block; width: 100%; height: 100%; font-family: Arial, Helvetica, sans-serif; font-weight: 700; padding-top: 15%; padding-right: 2.5%; margin-right: 0px; font-size: 1.2rem; transition: 0.3s; opacity: 0; } span:hover{ transition: 0.3s; opacity: 1; font-weight: 700; } #neonShadow:hover{ transform:translateX(-20px)rotate(30deg); border-radius:5px; background-color:#c3bacc; transition:0.5s; } @keyframes glow{ 0%{ box-shadow: 5px 5px 20px rgb(93, 52, 168),-5px -5px 20px rgb(93, 52, 168);} 50%{ box-shadow: 5px 5px 20px rgb(81, 224, 210),-5px -5px 20px rgb(81, 224, 210) } 100%{ box-shadow: 5px 5px 20px rgb(93, 52, 168),-5px -5px 20px rgb(93, 52, 168) } }
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!