I tried to achieve the effect using a pseudo element with a radial background that is 25% of the whole button size, and masking it to show it's border area only, and animate the background position of the radial gradient to move to corners, although I can't figure out the trailing effect, but I think my approach is more performance saving, Your approach is awesome too
Thumbnail kaha se banate ho sir please help me mai bhi TH-cam channel khola hu lakin thumbnail ka problem ho raha hai neon button ka thumbnail nahi ban raha hai
I tried to achieve the effect using a pseudo element with a radial background that is 25% of the whole button size, and masking it to show it's border area only, and animate the background position of the radial gradient to move to corners, although I can't figure out the trailing effect, but I think my approach is more performance saving, Your approach is awesome too
Code:
*{
margin: 0;
padding:0;
font-family: sans-serif;
box-sizing: border-box;
text-decoration: none;
}
.wrapper{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #000;
}
a{
position: relative;
display: inline-block;
padding: 25px 30px;
text-transform: uppercase;
letter-spacing: 4px;
color: #03e9f4;
font-size: 1.2rem;
transition: .5s;
overflow: hidden;
margin-right: 70px;
}
a:hover{
background-color: #03e9f4;
color: #050801;
box-shadow: 0 0 5px #03e9f4,
0 0 25px#03e9f4,
0 0 50px #03e9f4,
0 0 300px #03e9f4;
-webkit-box-reflect: below 1px linear-gradient(transparent,#0005);
}
a:first-child{
filter: hue-rotate(225deg);
}
a:last-child{
filter: hue-rotate(90deg);
}
span{
position: absolute;
display: block;
}
span:nth-child(1){
top: 0;
left: 0;
width: 100%;
height: 1px;
background: linear-gradient(90deg,transparent,#03e9f4);
animation: animate1 1s infinite;
}
@keyframes animate1{
0%{
left:-100%;
}
100%{
left: 100%;
}
}
a span:nth-child(2){
top: -100%;
right: 0;
width: 1px;
height: 100%;
background: linear-gradient(180deg,transparent,#03e9f4);
animation: animate2 1s infinite;
animation-delay: .25s;
}
@keyframes animate2{
0%{
top:-100%;
}
100%{
top: 100%;
}
}
a span:nth-child(3){
bottom: 0;
right: 0;
width: 100%;
height: 1px;
background: linear-gradient(270deg,transparent,#03e9f4);
animation: animate3 1s infinite;
animation-delay: .5s;
}
@keyframes animate3{
0%{
right: -100%;
}
100%{
right: 100%;
}
}
a span:nth-child(4){
bottom: -100%;
left: 0;
width: 1px;
height: 100%;
background: linear-gradient(360deg,transparent,#03e9f4);
animation: animate4 1s infinite;
animation-delay: .75s;
}
@keyframes animate4{
0%{
bottom: -100%;
}
100%{
bottom: 100%;
}
}
unfortunately "-webkit-box-reflect" does not work in the mozilla firefox browser.
Thank you bro
thank you bro you saved a lots of time
Thanks Bro, even tho i already write it all manual, but thanks tho.
Modern CSS Glowing Button Hover Effects|Create Buttons With Awesome Hover Effects |Html CSS Tutorial
Must watch:th-cam.com/video/AEZEQ_9LTyg/w-d-xo.html
This is just amazing.. Thank you! You are the best!
Thank you for your kind words❤😊
Many thanks to you! I liked it
Glad you like it 🤩
Very creative...keep it up its very useful too✨
Thank you so much 😊
Wow, thank you!
Glad you like it🤩
i wii appreciate your work
Glad to hear that 😊❤️
you've got some very nice ideas here
Yes😊
Espectacular quedó hermoso
This is amazing thank you
Glad to hear that😊 ❤
It's cool 😮
Thanks♥
nth-child(3) bugs and displays stuck on the screen for half a second when the page reloads. Changing to right:100%; fixes it.
Lots of love ❤ keep it up. Can you tell me which course?
Which course means???
Means which course you learn to create this videos ?
Web development
@@coding___bug you means know about html java css ?
@@coding___bug Thankyou so much for this information ❤️
Can you show how you would add a JavaScript layer into this code with functionality
wow amazing ....
Thank you❤
thank u :)
perfect
so good
Thank you 😊
source code ?
very impressive
Thank you 😊
what application did you use for that?
Visual Studio Code
Thumbnail kaha se banate ho sir please help me mai bhi TH-cam channel khola hu lakin thumbnail ka problem ho raha hai neon button ka thumbnail nahi ban raha hai
Canva se bana lo
Super
Thanks
Webkit-box-reflect:; can't work 😢 how to solve this
try
-webkit-box-reflect: below;
Damn, I keep telling people css html beats worpress every time
please tell me what song is playing in the video
Lost sky - Where we started
@@coding___bug
Thank you !!! You have a good channel. I'm waiting for new videos
Thank you so much that means a lot❤️😊
Possible code
Tooop
Deixa o codigo pra gente, please
codepen.io/Paruuuu/pen/zYmdMWv
Obrigado, vc é sensacional
unfortunately "-webkit-box-reflect" does not work in the mozilla firefox browser.
Bhai pure site m mereko button ki hi coding nhi krni😅😂😂😂😂😂😂 site bhi bnani h😅
wow
la canción d quienes
like it
Thank you❤
Excellent presentation, bad for UX
can you give me your files because i'm getting some issu in my coding please can you give me your file if you give than my order is complete
need source code
codepen.io/Paruuuu/pen/zYmdMWv
please don`t post a music
Bro now I don't post with a music
Source Code den pls
codepen.io/Paruuuu/pen/zYmdMWv
Unwatchable
wdym it's really cool
Thank you so much ❤️
unfortunately "-webkit-box-reflect" does not work in the mozilla firefox browser.