Create a neon button with a reflection using CSS
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 KZread 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!
Пікірлер: 417
That is hands down the coolest button I’ve ever seen. I’m gonna build it just so I can click it.
@KevinPowell
3 жыл бұрын
Haha, glad that you liked it! 😊
@misheltanvirhabib2261
2 жыл бұрын
😄😄😄
@linnjohnsen4073
Жыл бұрын
Agree!😍
@8koi245
Жыл бұрын
Hahaha same
I am a python developer and have never paid much attention to css, now this channel has got me hooked to css!
@KevinPowell
3 жыл бұрын
Oh, so happy to hear that!
@Digital963
3 жыл бұрын
Yea great CSS ch!!!
@cerealrakist7360
3 жыл бұрын
I’m about to dive head first in to Python 👀 soon. Have learned the basics already and really love it!!
@tomhakimov1715
3 жыл бұрын
I'm a web developer and this channel got me hooked as well
@nimphilia
3 жыл бұрын
@@ccriztoff wtf is wrong with you?
12:35 The moment the blur kicks in... 🤩😍
@zero0bb
2 жыл бұрын
I swear...
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?"
no one: Kevin: this looks like comic sans, this will look good
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
This video is just packed with useful information and clear explanations for mid to high level CSS shenanigans. Absolutely brilliant, thank you.
Amazing neon effect and also code was well explained!
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 ✌🏾
@KevinPowell
3 жыл бұрын
Looking forward to seeing it!
@fuballplanet6952
3 жыл бұрын
@@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.
@A_Lesser_Man
3 жыл бұрын
super idea. i'm adding Kevin's name to my credits on my about page (if he's down for that)
@nallawilljr.4873
3 жыл бұрын
@@fuballplanet6952 "When something is important enough, you do it even if the odds are not in your favor." - Elon Musk
@nallawilljr.4873
3 жыл бұрын
@@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 😊
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 :)
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.
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? 😉
This is amazing Kevin, thank You for creating Your content!
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!
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 :)
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.
Absolutely LOVE your work Kevin - thank you so much
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! :)
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
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.
I like this design and how you explained it all the way through, you are great.
Excellent video, everything is explained, it helped me a lot! Awesome effect!
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 :)
You are the first person to not only explain CSS but make me understand it and want to work with CSS.
That was awesome, really nice effect. Btw now I understand what is before and after, thanks!
Wow it's so amazing!! Thanks for your really helping tutorials!!🤩🤩
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!
@KevinPowell
2 жыл бұрын
Great to hear!
This is so sick man! Super cool!
You did it great ! Awesome Work 😉
This was an awesome fun exercise - gave me many ideas for this button use - thank you!!!
You're the GOAT !!!! My CSS skills improved so much. Thank you !!!
Awesome, I really enjoyed this video! Definitely using this in my projects!
I'll try to replicate this tomorrow. This is so cool Kevin.
This tutorial simplifies the application of rem and em, THANK YOU
That's a super nice button. Very helpful video!
This is amazing! I love your videos! Thanks for all your expertise!!
Never have I subbed so fast. Your videos are so amazing and bingable! Thank you so much for your work!
So awesome! Your videos never disappoint. 😎
Best channel for CSS thank you Kevin for amazing content :)
This is amazing. You're definitely the best CSS youtuber.
Thank you! Love your videos!!❤
You, sir, earned yourself a sub for this video!Great work!
I love this! I’ve been looking to get more professional with web design and I love your content!
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 !
Thank you for this. I learned a lot from this video alone!
Amazing explanations. Thanks!
This video was awesome gave me a lot of new angles to think on.
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!
@DajuSar
3 жыл бұрын
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
Amazing video! These buttons were perfect for my client's project. I always enjoy your stuff so I gave you a sub.
Really helpful video. Please make more of these types of videos with details.
Awesome man Thanks, really learnt new stuff from the video
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); ```
Just awesome -- total crazy stuff
Nice job and creativity buddy! Actually Well Cssed!
Great work, I really enjoyed 👍
This is so cool. Been wanting to make a practice website with this sort of theme
That was really really nice! Thanks!
pure art my friend
Using something similar to this in production, thanks for this tutorial!
I have to say,,, You are a real and true CSS legend... Come from my heart 💗💗
Absolute bliss, pure joy.
How is this so amazing!? Wowy
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).
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”
@KevinPowell
3 жыл бұрын
Haha, am I that fast? Lol.
Looks amazing!
Really very awesome, congratulations
Yes! I did it 🕺🤘👍! It was cool. Thanks for this video.
You are amazing. Such a good content. Thank you so much for this video Sir.
Thanks a lot for that information, that was quite useful ^^
looks amazing, luv it 👍 Hope I get to use this someday :D Customers usually aren't looking for this kind of style 🙄
Cool video. Definitely something I would show off in my projects just because.
i was a subscriber before i knew what was CSS now iam learning Webdevlopment and it is helping a lot such awesome content
My inspiration is you for learning more on css☺️☺️
WOW, Loved It
This was an awesome video!
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 work!
Very beautiful button. Not sure when I'd use it, but it looks great! :D
If anyone cant learn from this video, don't mean to give it dislike, just to know how difficult is CSS, imagine to explain to the others, this guy got my attention, subscribe and likes in some other videos.
Thanks for the tutorial!
Thanks, that was very helpful :D
This is also amazing as last one I will be practicing it tomorrow 👍👍
OMG stunning man
Massively cool, good vid/tutorial.
This was awesome! Subscribed to this channel :)
Really instructive thank you
kp you deserve an oscar for this tutorials , really thanks from bottom of my heart
@KevinPowell
3 жыл бұрын
So glad that you enjoyed it!
You are the king of CSS!!!
I liked that Glowing Cool Button so I it on my HTML/CSS school project . and it looks beautiful
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!
@jw200
3 жыл бұрын
How many years before you applied? I mean experience and what experience you have?
@jd4300
3 жыл бұрын
@@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
fascinating! Been doing 3D since 2010 - HTML & CSS have come a LONG way
Thanks Kevin !
it looks amazing
Learning CSS is a big pain in the ass, but you make it so fun! Thanks!
You have inspired me as a beginner web developer and one day i hope to become like you in my css😁
I learn lot from this channel
Thanks for making my site more cyperpunk!