Create a neon button with a reflection using CSS
HTML-код
- Опубликовано: 28 июл 2024
- A look at creating a neon button effect using CSS, including a glowing reflection on the "ground", and a little dive into the world of performance as well.
Performance link I mentioned in the video: / how-to-achieve-60-fps-...
The code: codepen.io/kevinpowell/pen/QW...
⌚ Timestamps
00:00 - Introduction
00:50 - What we're starting with
01:20 - Styling the button
03:54 - Adding the glow to the text
06:20 - Adding the glow to the button
07:39 - Adding the reflection
13:42 - Adding the hover/focus styles
#css
--
Come hang out with other dev's in my Discord Community
💬 / discord
---
Keep up to date with everything I'm up to
✉ www.kevinpowell.co/newsletter
---
Help support my channel
👨🎓 Get a course: www.kevinpowell.co/courses
👕 Buy a shirt: teespring.com/stores/making-t...
💖 Support me on Patreon: / kevinpowell
---
My editor: VS Code - code.visualstudio.com/
---
I'm on some other places on the internet too!
If you'd like a behind the scenes and previews of what's coming up on my RUclips channel, make sure to follow me on Instagram and Twitter.
Instagram: / kevinpowell.co
Twitter: / kevinjpowell
Codepen: codepen.io/kevinpowell/
Github: github.com/kevin-powell
---
And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!
That is hands down the coolest button I’ve ever seen. I’m gonna build it just so I can click it.
Haha, glad that you liked it! 😊
😄😄😄
Agree!😍
Hahaha same
12:35 The moment the blur kicks in... 🤩😍
I swear...
I am a python developer and have never paid much attention to css, now this channel has got me hooked to css!
Oh, so happy to hear that!
Yea great CSS ch!!!
I’m about to dive head first in to Python 👀 soon. Have learned the basics already and really love it!!
I'm a web developer and this channel got me hooked as well
@@ccriztoff wtf is wrong with you?
no one:
Kevin: this looks like comic sans, this will look good
CEO of big Company: "Why did you move the button to the left?"
Kevin: "Oh my head was just in the way"
CEO: "Your- what?"
I learned everything I know in css from you, but I'd dedicated all my time to react and learning the required technologies over the past year to be a full-time frontend developer and I did it! now I'm back to your channel again to learn more stuff in css and god you are such a great teacher, I just enjoy watching your videos. I want to thank you for all your great content since you and your videos made me even consider the path I'm on now! thank you :)
This video is just packed with useful information and clear explanations for mid to high level CSS shenanigans. Absolutely brilliant, thank you.
This is an awesome effect - but how you demystify css with step-by-step coding and explanations for every line is even more awesome. Who knew css could be soooo simple? 😉
Amazing neon effect and also code was well explained!
A beginner learning web dev here. I’d like to extend a huge thank you, Kevin, this video made me understand the power of css like no other. Amazing content
Thanks, I have learned a lot from this channel, I like how you get into details and even change code to explain it. It just sinks in.
Hey Kevin! I am watching you from a couple weeks and I just wanna say that you are a great person. Thank you for sharing this super nice content :) Keep it up man! Cheers from Poland :)
I'm designing a tribute page for my tutors and you're one of them, KP. Thank you for helping me in my self taught journey ✌🏾
Looking forward to seeing it!
@@KevinPowell First of all, I hope you will see my comment. I want to thank you soo much for what you giving to us in terms of toturials, for you Maybe this is normal thing, but believe me, you are doing a lot,
In developed countries. There are many opportunities in universities, private schools and programming camps, so people have a lot of options to learn programming, but in underdeveloped countries Like my country where We have just a cheap computer and slow internet LOL, we do not have these opportunities, and you and the likes of you provide services to humanity with these TOTURIALS. Continue and be ambitious. Perhaps one day someone from underdeveloped country will come to you and say you were my teacher when I did not have one ,and I hope that you will provide us with lessons in the JavaScript language we need that so much, so you are the best in the field.
super idea. i'm adding Kevin's name to my credits on my about page (if he's down for that)
@@fuballplanet6952 "When something is important enough, you do it even if the odds are not in your favor." - Elon Musk
@@A_Lesser_Man We all seem like open-minded individuals with a passion for coding, so if you don't mind, dm me on IG @nallawilljr I'd love to share ideas or maybe even work on some projects together 😊
This is amazing Kevin, thank You for creating Your content!
I've used this button on some of my personal projects(mostly just practicing my HTML and CSS skills) and it's amazing I love it, also even though i don't like css that much you've truly helped me like it just a bit more. Thanks Kevin!
Great to hear!
I love the feeling of excitement I felt (which only fellow CSS nerds will understand haha) when you applied filter blur and that reflective glow appeared. So cool! :)
Freakin awesome Kevin, it's that reflection on the "ground" that does it, makes me alll warm and fuzzy, I have an urge to make an entirely retro neon themed website for absolutely no reason now. So cool! Thanks!!
Amazing explanation of what is going on and concise example! Thank you!
I really have high affinity for your videos, I nearly ignored CSS to frameworks but av been forced to remain in CSS because of your tutorials. Everything is achievable. Thanks alot.
You blow my mind with this one, I didn't know about perspective transformations and it is amazing, it reminds me the Mode7 of SNes :)
This is really friggin rad! I split my time pretty evenly between 2d graphics design, 3d art and design and software development, so it was wild to all of a sudden see concepts from 3d graphics just all of a sudden hanging out with CSS like this!
What a good video. Straight to the point, not confusing, and you’re really entertaining to listen to. This helped so much
Excellent video, everything is explained, it helped me a lot! Awesome effect!
Absolutely LOVE your work Kevin - thank you so much
I like this design and how you explained it all the way through, you are great.
Wow it's so amazing!! Thanks for your really helping tutorials!!🤩🤩
You are the first person to not only explain CSS but make me understand it and want to work with CSS.
Never have I subbed so fast. Your videos are so amazing and bingable! Thank you so much for your work!
That was awesome, really nice effect. Btw now I understand what is before and after, thanks!
Thank you very much for this!
Since the button is getting brighter when hovering, I also added the following to .neon-button:hover to add more perceived light to the scene. Might be a touch too much, but you can adjust as you see fit.
```
transform: perspective(1em) rotateX(40deg) scale(1.3, 0.5);
```
This tutorial simplifies the application of rem and em, THANK YOU
I love this! I’ve been looking to get more professional with web design and I love your content!
This was an awesome fun exercise - gave me many ideas for this button use - thank you!!!
This is amazing! I love your videos! Thanks for all your expertise!!
You're the GOAT !!!! My CSS skills improved so much. Thank you !!!
Awesome, I really enjoyed this video! Definitely using this in my projects!
This is so sick man! Super cool!
You, sir, earned yourself a sub for this video!Great work!
You did it great ! Awesome Work 😉
Best channel for CSS thank you Kevin for amazing content :)
That's a super nice button. Very helpful video!
I'll try to replicate this tomorrow. This is so cool Kevin.
So awesome! Your videos never disappoint. 😎
Amazing video! These buttons were perfect for my client's project. I always enjoy your stuff so I gave you a sub.
This is amazing. You're definitely the best CSS youtuber.
Thank you! Love your videos!!❤
Having a hard time figuring out how to add multiples of these on one page, apart from that, this is great! Thanks for yet another amazing vid!
Then a framework would be usefull, you can use React, get this button in his own class so you can just copy and paste it. And the css would be a module thats it
Awesome glowing button, I don’t know if i will use it in prod on my job projects 😓 but it’s always good to know how you make it real !
12:38 i literally gasped when you applied blur here. the result looks so good.
this video has convinced me to buy “css: the definite guide”. it’s time to stop neglecting css. it is important and every dev should be good at it.
Thank you for this. I learned a lot from this video alone!
I always click the like button before even watching the video because your videos are always great and I learn a lot of fun stuff. Your videos are guaranteed to be good
Awesome man Thanks, really learnt new stuff from the video
Amazing explanations. Thanks!
pure art my friend
Recently hired as a web designer (3 months ago) this is my favorite channel hands down for CSS. You are the man Kevin! And your channel played a vital role in me switching careers and going into web design/development. Thank you!
How many years before you applied?
I mean experience and what experience you have?
@@jw200 4 months of learning before I applied ! Just build projects. Build websites. Have projects to show off your skills. I was also getting the most interviews I have ever gotten in my life
Great work, I really enjoyed 👍
This video was awesome gave me a lot of new angles to think on.
Just awesome -- total crazy stuff
Using something similar to this in production, thanks for this tutorial!
I really appreciate the content and a lot of your tips throughout the video. Also just want to express my admiration to your rap-like speaking speed while maintaining the tempo and smoothness. I was thinking in my head “I would need a speaking course to get to this level”
Haha, am I that fast? Lol.
Looks amazing!
Really helpful video. Please make more of these types of videos with details.
Absolute bliss, pure joy.
Nice job and creativity buddy! Actually Well Cssed!
How is this so amazing!? Wowy
My inspiration is you for learning more on css☺️☺️
WOW, Loved It
This is so cool. Been wanting to make a practice website with this sort of theme
You are amazing. Such a good content. Thank you so much for this video Sir.
You are the king of CSS!!!
I have to say,,, You are a real and true CSS legend... Come from my heart 💗💗
This looks so cool and it doesn't seem complicated.
Imma steal it.
This is making me understand more and more why CSS development is in fact real development work. It is simply amazing what's possible with this when you really know about it (which I don't yet - I am mainly a Java developer).
OMG stunning man
Yes! I did it 🕺🤘👍! It was cool. Thanks for this video.
Thanks a lot for that information, that was quite useful ^^
That was really really nice! Thanks!
looks amazing, luv it 👍 Hope I get to use this someday :D Customers usually aren't looking for this kind of style 🙄
i was a subscriber before i knew what was CSS now iam learning Webdevlopment and it is helping a lot such awesome content
This was an awesome video!
Cool video. Definitely something I would show off in my projects just because.
awesome work!
This was awesome! Subscribed to this channel :)
Thanks, that was very helpful :D
Superb vid!
Really very awesome, congratulations
Amazing effect! this would be a great use case for display-p3 colors from the CSS Color level 4 module, for extra bight color in compatible displays ;)
That would be so great for sure! A real neon pink or green would be fantastic. Once browser support increased for those, maybe I should revisit this to introduce them :)
This is also amazing as last one I will be practicing it tomorrow 👍👍
Very beautiful button. Not sure when I'd use it, but it looks great! :D
kp you deserve an oscar for this tutorials , really thanks from bottom of my heart
So glad that you enjoyed it!
Thanks Kevin !
I learn lot from this channel
I liked that Glowing Cool Button so I it on my HTML/CSS school project . and it looks beautiful
you are an artist
Massively cool, good vid/tutorial.
Amazing! 👏
Thanks for the tutorial!
You have inspired me as a beginner web developer and one day i hope to become like you in my css😁
Awesome! Thanks
Really instructive thank you