Front-end dev reacts to amazing CSS-only Codepens

Kevin Powell · Beginner ·🛠️ AI Tools & Apps ·5y ago

Key Takeaways

The video showcases amazing CSS-only Codepens with 3D effects and animations, highlighting the power of CSS in front-end development. Tools like Codepen, CSS, and Sass are utilized to create complex animations with minimal code.

Full Transcript

hello my friends and friends and welcome back to the channel if you're new here my name is kevin and normally i'm here to help you fall in love with css and if not fall in love with it at least be a little bit less frustrated by it but today it's going to be a little bit different because we're just going to be trying to be amazed by css as much as possible and even though i write css all day long every day i i'm still amazed at some of the incredible and creative things that other people can do with it that i have never even dreamed of doing and i want to go see what some of these amazing and incredible things are and i want you to join in that ride with me so let's go and dive into codepen and see what we can find all right so here we are in codepen and let's come up here and write css only just like we did last time and see what magic we can find uh i think the early part here we might see some repetition because we're on popularity so yeah we've seen some of these so let me just scroll through this a little bit all right yeah there's the last one we saw which was incredible so we should start seeing some new stuff now that's super cute nice little eevee there by david um 3d effect on hover css only i'm curious we'll open that up and check it out um hover me how do you do that with only css i'm not going to look at this code i don't know that's pretty cool and it looks like that's pretty cool um we're not going to dive too oh so they're using hamlet here to loop through so i think there's just like one second we're gonna see really fast uh and there should be like a loop somewhere in here i'm guessing yes there's like a million cells or something let's just do a star outline uh one pixel solid red ah okay so there we go so there's all these different cells and then based on which one you're hovering on it changes that's cool so then it's depending on which cell you're so that's why like anywhere within here it doesn't move it's only so there's like i guess you could have more cells and make that a bit that's really cool though i really like that that's super clever uh to do something like that and it looks really good is there even like a lighting change on there if it isn't subtle maybe i'm imagining it but whatever i think that's awesome that's by vincent durant wow that's really cool really really clever i love these these clever solutions i'm happy i clicked on that one all right let's go see what else we can find free radicals that looks pretty wild let's go check that one out this is by noah blonde nice that's beautiful that's so nice how that css no javascript that's cool i mean i guess it's just looped through animations different speeds for the different sizes and there's again some hammel and some um sass here just so you don't have to write it all out you can do some loops and do some fun stuff to to get things you know a write a lot less code to pull it off but wow um i'm not even going to try and figure out the math they did on this one but super pretty that's so cool you just look at that for a long time really really nice and definitely the colors i mean are beautiful the shading on everything is really beautiful and also just like the the speed everything about it i don't know i'm just really really cool i love that a lot that's really really nice um i didn't if i didn't mention it before just so you know that i will keep the um the links to all these will be down below if you want to check them out on your own oh i see two here that i definitely want to check out so let's open both those up um so this first one's by alberto hearts heartset i'm sorry if i'm butching your name awesome 3d goodness going on here uh yeah that's just cool um you can see there's nothing in the javascript really really cool um the shadow even on the ground is just the cherry on the cake for that one so nice and as we saw so i have a bit of an idea of how this is done which is exciting um yeah just because of that when i had amit sheen on with me and we built a 3d cube with a bouncing ball and stuff it was really really cool so it sort of gives me an idea of how this is being done but it doesn't make it any less impressive the animations are really nice too the way it sort of has that like and all the different there's so many different animations happening here it's really cool nice job alberto really really nice and next up was this other one that look cool which is this oh look at the lighting on that is that on hover does it does it change oh that's slick the lighting on there the shadow on the ground and now that i do know how it's sort of done like that shadow is not something that's easy to be done um at all because you're just sort of animating that separate from the card so that's really nice that the lighting on there that's shifting around as it happens i'm impressed that's by ben evans really nice really nice i love it there's a little like glitch there at the beginning of the hover so i'm not sure why but it doesn't matter because it's just too awesome really really cool the fact that this is css only two is wild right they have all the 3js and all these other things that obviously they add another element to it maybe we could check out some 3.js things in another video like this one day but just this css only stuff like some of this things people can do is just incredible anytime there's 3d in the name i just feel like clicking on it uh change view let's go to the editor view so this is so steps click to toggle the details view oh oh that's so and like even like the card's not flat like we have like a 3d on everything here that that's so satisfying all right so i didn't realize when i was first having fun with this but this does have a little bit of javascript going on here um but it just seems to be toggling classes basically right um so they're adding and removing the class when you click on the body or when you yeah when you click um that's how it's it's enabling it um yeah so it's a little bit of javascript here just to give us like a button type of thing i guess they could i wonder if they could have done that instead of doing it with that to go like pure css only if they could have used like them the checkbox hack or something but you know it is a hack uh so i get why they didn't bother with it but i wonder if that could have been a solution here just to say there's no javascript involved because this is just it's so nice and the fact that all of that the little tilting animation that everything coming through um it's just it's awesome so yeah still really good there steve um that's why steve gardner yeah it's still really really cool um yeah i'm impressed even though there's a little touch of javascript in there i'm leaving it in this video because i think it's awesome and it seems to be i've run out of css only searches here uh there's probably other keywords i could be using but i don't know what else to use so we're gonna we're gonna keep looking but i'm gonna see if i can find some things that um so this one looks cool but i have a feeling that's not only with css so we're gonna oh we got some still life i have to click when oh i saw another one there too this this is the art with css to me is is like i mean i guess they had a glass too they could be looking at because like this is definitely you know the way that light refracts around and stuff i don't know um this is by ben evans and just didn't have another one by ben evans whether we did or not this is incredible i have nothing else to say i could just sit there and marvel at that mona we're gonna get into some of this art stuff with css aren't we that's all with box shadows wow i'm just gonna scroll here for a second like i'm scrolling fast how many lines of box shadow is this this whole thing is box shadows holy moly it's just here i'm i it's not going to end it's never going to end that's like over 7000 lines of for a box shadow that's nuts jay salvat you have way more patience than i could ever have to do something like this but it's very very impressive that you're able to do it wow and just getting the colors and everything really really cool no i mean yeah it's amazing what you can do with box shadows they're so cool the stuff you can pull off with them we got some 3d text and you want to see how they did that oh look at the little animation oh that's so nice how do you do that is that with shadows and then but how do you do the 3d part of it that's the background i'm not going to dive in there's 3d like the animation name nice wow that's so wild wow that's just it looks so nice the font choices they're really nice too that just it's so nice i didn't know you could do that type of thing is it oh that's they have like a ton of elements that are okay let's just for fun make this one so now yeah it's basically flat at that point and then let's make it like this might take a while to render but let's try that with a thousand layers just for fun and i'm guessing that's gonna make it super thick huh that's interesting so they just sort of like piled a whole bunch of elements on top of each other to get that like 3d-ishness effect that's really interesting it doesn't look as good when it's too thick but yeah that's that's really nice that's one of the it's it's a bit simple well simple it's really cool but like the end result is simple um and it's just beautiful it just looks really really good that's by noah blonde we had another one by noah didn't no one knows what he's doing with css really really nice really really cool love that one you know we're gonna we're gonna finish this off by coming here and looking at this one by amit sheen because emmett's the one who inspired this entire series um i remember he shared this one with me a while ago and that's even though i've seen this one before unlike other ones i don't understand how you can do this with css [Laughter] this is just incredible this is with css only there's no javascript involved and it's just wild to me that you can create something like this um so yeah i think this is a nice one to take a look at and just marvel in the beauty of things that you can do with css only and if you if you want to know a little bit of how this was built emma did come on to my channel and we looked at how to do a really cool bouncing ball on a box that was rotating a little bit like this with a squishy ball so bouncing on it really cool it sort of can help you understand a little bit of how this stuff is made so if you want to check that out the video for it is right here for your viewing pleasure and with that a really big thank you to my supporters of awesome over on patreon zach and randy as well as all my other patrons for their monthly support and of course until next time don't forget to make your report on the internet just a little bit more awesome and and just look at you know if not just watch one of these loop around for a while because it's just super cool

Original Description

People say I'm the king, but like... yeah this stuff is insane 😅. Make sure you check out the codepens below so you can see them all in more detail, all so amazing! If you'd like to learn how 3D stuff is done with CSS, Amit Sheen showed me the ropes in building a 3D, rotating cube with a bouncing ball on top of it: https://youtu.be/NdftnCDwKaU 🔗 Links ✅ 3D effect on hover by Vincent Durand - https://codepen.io/onediv/pen/BprVzp ✅ Free Radicals by Noah Blon - https://codepen.io/noahblon/pen/wEfCz ✅ Animated cube slider by Alberto Hartzet - https://codepen.io/hrtzt/pen/JdYaEZ ✅ Pure CSS Playing Card by Ben Evans - https://codepen.io/ivorjetski/pen/ExaKmjw ✅ 3D step counter card by Steve Gardner - https://codepen.io/ste-vg/pen/wdBRZN ✅ Pure CSS Still Life by Ben Evans - https://codepen.io/ivorjetski/pen/xMJoYO ✅ Mona Lisa with pure CSS by Jay Salvat - https://codepen.io/jaysalvat/pen/HaqBf ✅ 3D CSS Typography by Noah Blon - https://codepen.io/noahblon/pen/CsxfH ✅ Newton's Cradle by Amit Sheen: https://codepen.io/amit_sheen/pen/XWMXwvJ ✅ Polypane Browser: https://polypane.app/ #css -- Come hang out with other dev's in my Discord Community 💬 https://discord.gg/nTYCvrK Keep up to date with everything I'm up to ✉ https://www.kevinpowell.co/newsletter Come hang out with me live every Monday on Twitch! 📺 https://www.twitch.tv/kevinpowellcss --- Help support my channel 👨‍🎓 Get a course: https://www.kevinpowell.co/courses 👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome 💖 Support me on Patreon: https://www.patreon.com/kevinpowell --- My editor: VS Code - https://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 YouTube channel, make sure to follow me on Instagram and Twitter. Twitter: https://twitter.com/KevinJPowell Codepen: https://codepen.io/kevinpowell/ Github: https://github.com/kevin-powell --
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Kevin Powell · Kevin Powell · 0 of 60

← Previous Next →
1 How to create an awesome navigation bar with HTML & CSS
How to create an awesome navigation bar with HTML & CSS
Kevin Powell
2 Improve your CSS by Keepin' it DRY
Improve your CSS by Keepin' it DRY
Kevin Powell
3 HTML & CSS for Beginners Part 6: Images
HTML & CSS for Beginners Part 6: Images
Kevin Powell
4 HTML & CSS for Beginners Part 7: File Structure
HTML & CSS for Beginners Part 7: File Structure
Kevin Powell
5 HTML & CSS for Beginners Part 4: Bold and Italic text and HTML comments
HTML & CSS for Beginners Part 4: Bold and Italic text and HTML comments
Kevin Powell
6 HTML & CSS for Beginners Part 5: Links
HTML & CSS for Beginners Part 5: Links
Kevin Powell
7 HTML & CSS for Beginners Part 3: Paragraphs and Headings
HTML & CSS for Beginners Part 3: Paragraphs and Headings
Kevin Powell
8 HTML and CSS for Beginners Part 1: Introduction to HTML
HTML and CSS for Beginners Part 1: Introduction to HTML
Kevin Powell
9 HTML and CSS for Beginners Part 2: Building your first web page!
HTML and CSS for Beginners Part 2: Building your first web page!
Kevin Powell
10 HTML & CSS for Beginner Part 8: Introduction to CSS
HTML & CSS for Beginner Part 8: Introduction to CSS
Kevin Powell
11 HTML & CSS for Beginners Part 9: External CSS
HTML & CSS for Beginners Part 9: External CSS
Kevin Powell
12 HTML & CSS for Beginners Part 10: Divs & Spans
HTML & CSS for Beginners Part 10: Divs & Spans
Kevin Powell
13 HTML & CSS for Beginners Part 11: Classes & IDs
HTML & CSS for Beginners Part 11: Classes & IDs
Kevin Powell
14 HTML & CSS for Beginners Part 12: The CSS Box Model - Margin, Borders & Padding explained
HTML & CSS for Beginners Part 12: The CSS Box Model - Margin, Borders & Padding explained
Kevin Powell
15 HTML & CSS for Beginners Part 13: Background Images
HTML & CSS for Beginners Part 13: Background Images
Kevin Powell
16 HTML & CSS for Beginners Part 14: Style Text with CSS
HTML & CSS for Beginners Part 14: Style Text with CSS
Kevin Powell
17 HTML & CSS for Beginners Part 15: How to style links
HTML & CSS for Beginners Part 15: How to style links
Kevin Powell
18 HTML & CSS for Beginners Part 16: CSS selectors and Specificity
HTML & CSS for Beginners Part 16: CSS selectors and Specificity
Kevin Powell
19 HTML & CSS for Beginners Part 17: How to Create and Style HTML Lists
HTML & CSS for Beginners Part 17: How to Create and Style HTML Lists
Kevin Powell
20 HTML & CSS for Beginners Part 18: How Floats and Clears work
HTML & CSS for Beginners Part 18: How Floats and Clears work
Kevin Powell
21 HTML & CSS for Beginners Part 19: Colors with CSS - hex, rgba, and hsla
HTML & CSS for Beginners Part 19: Colors with CSS - hex, rgba, and hsla
Kevin Powell
22 HTML & CSS for Beginners Part 20: How to center a div
HTML & CSS for Beginners Part 20: How to center a div
Kevin Powell
23 HTML & CSS for Beginners Part 21: How to create a basic website layout - the HTML
HTML & CSS for Beginners Part 21: How to create a basic website layout - the HTML
Kevin Powell
24 HTML & CSS for Beginners Part 22: How to create a basic layout - the CSS
HTML & CSS for Beginners Part 22: How to create a basic layout - the CSS
Kevin Powell
25 How to Create a Responsive Website from Scratch - Part 1: The HTML #Responsive #HTML5
How to Create a Responsive Website from Scratch - Part 1: The HTML #Responsive #HTML5
Kevin Powell
26 How to Create a Responsive Website from Scratch - Part 2: The Header and Hero area #Responsive #CSS3
How to Create a Responsive Website from Scratch - Part 2: The Header and Hero area #Responsive #CSS3
Kevin Powell
27 How to Create a Responsive Website from Scratch - Part 3: The About Section #Responsive #CSS
How to Create a Responsive Website from Scratch - Part 3: The About Section #Responsive #CSS
Kevin Powell
28 How to Create a Responsive Website from Scratch - Part 4: Building a Responsive Portfolio Section
How to Create a Responsive Website from Scratch - Part 4: Building a Responsive Portfolio Section
Kevin Powell
29 How to Create a Responsive Website from Scratch - Part 5: Call To Action and Footer #CSS #Responsive
How to Create a Responsive Website from Scratch - Part 5: Call To Action and Footer #CSS #Responsive
Kevin Powell
30 Tutorial: Learn how to use CSS Media Queries in less than 5 minutes
Tutorial: Learn how to use CSS Media Queries in less than 5 minutes
Kevin Powell
31 End of the year upate and what's coming to my channel to start the new year
End of the year upate and what's coming to my channel to start the new year
Kevin Powell
32 Create a CSS only Mega Dropdown Menu
Create a CSS only Mega Dropdown Menu
Kevin Powell
33 CSS Tutorial: Outline and Outline Offset
CSS Tutorial: Outline and Outline Offset
Kevin Powell
34 CSS Blending Modes
CSS Blending Modes
Kevin Powell
35 Parallax effect | 2 different ways to add it with jQuery
Parallax effect | 2 different ways to add it with jQuery
Kevin Powell
36 CSS Units: vh, vw, vmin, vmax #css #responsive #design
CSS Units: vh, vw, vmin, vmax #css #responsive #design
Kevin Powell
37 How to Create a Website - Complete workflow | Part 01: Intro + Setting things up
How to Create a Website - Complete workflow | Part 01: Intro + Setting things up
Kevin Powell
38 100 Subscribers speed coding bonus video
100 Subscribers speed coding bonus video
Kevin Powell
39 How to Create a Website - Complete workflow | Part 02: The Markup #HTML
How to Create a Website - Complete workflow | Part 02: The Markup #HTML
Kevin Powell
40 How to Create a Website - Complete workflow | Part 03: Sass Variables and a Mixin #Sass
How to Create a Website - Complete workflow | Part 03: Sass Variables and a Mixin #Sass
Kevin Powell
41 How to Create a Website - Complete workflow | Part 04: Setting up the hero and header
How to Create a Website - Complete workflow | Part 04: Setting up the hero and header
Kevin Powell
42 How to Create a Website - Complete workflow | Part 05: Typography & Buttons
How to Create a Website - Complete workflow | Part 05: Typography & Buttons
Kevin Powell
43 How to Create a Website - Complete workflow | Part 06.1: Building the navigation with Flexbox
How to Create a Website - Complete workflow | Part 06.1: Building the navigation with Flexbox
Kevin Powell
44 How to Create a Website - Complete workflow | Part 06.2: Making the nav work with jQuery
How to Create a Website - Complete workflow | Part 06.2: Making the nav work with jQuery
Kevin Powell
45 Redesigning & Coding My Website #CreateICG
Redesigning & Coding My Website #CreateICG
Kevin Powell
46 How to Create a Website - Complete workflow | Part 07: Starting the flexbox grid
How to Create a Website - Complete workflow | Part 07: Starting the flexbox grid
Kevin Powell
47 How to Create a Website - Complete workflow | Part 08: Promo & Problem shooting!
How to Create a Website - Complete workflow | Part 08: Promo & Problem shooting!
Kevin Powell
48 How to Create a Website - Complete workflow | Part 09: The CTA and Footer
How to Create a Website - Complete workflow | Part 09: The CTA and Footer
Kevin Powell
49 How to Create a Website - Complete workflow | Part 10: Making it responsive
How to Create a Website - Complete workflow | Part 10: Making it responsive
Kevin Powell
50 How to Create a Website - Complete workflow | Part 11: Making it responsive con't
How to Create a Website - Complete workflow | Part 11: Making it responsive con't
Kevin Powell
51 How to Create a Website - Complete workflow | Part 12: Putting the site online
How to Create a Website - Complete workflow | Part 12: Putting the site online
Kevin Powell
52 Create a Custom Grid System with CSS Calc() and Sass
Create a Custom Grid System with CSS Calc() and Sass
Kevin Powell
53 CSS em and rem explained #CSS #responsive
CSS em and rem explained #CSS #responsive
Kevin Powell
54 Should you use Bootstrap?
Should you use Bootstrap?
Kevin Powell
55 How to add Smooth Scrolling to your one page website with jQuery
How to add Smooth Scrolling to your one page website with jQuery
Kevin Powell
56 Let's learn Bootstrap 4
Let's learn Bootstrap 4
Kevin Powell
57 How I approach designing a website - my thought process
How I approach designing a website - my thought process
Kevin Powell
58 Build a website with Bootstrap 4 - Part 1: The setup
Build a website with Bootstrap 4 - Part 1: The setup
Kevin Powell
59 Build a website with Bootstrap 4 - Introduction
Build a website with Bootstrap 4 - Introduction
Kevin Powell
60 Build a website with Bootstrap 4 - Part 2:  Customizing Variables
Build a website with Bootstrap 4 - Part 2: Customizing Variables
Kevin Powell

This video showcases the power of CSS in front-end development, highlighting amazing CSS-only Codepens with 3D effects and animations. Viewers can learn how to create complex animations with minimal code using CSS loops and variables. The video encourages viewers to explore Codepens further and learn from the designs showcased.

Key Takeaways
  1. Explore Codepens for CSS-only designs
  2. Use CSS loops and variables for efficient coding
  3. Create complex animations with minimal code
  4. Utilize the checkbox hack to toggle classes in JavaScript
  5. Experiment with 3D effects and animations using CSS
💡 CSS can be used to create complex animations and 3D effects without the need for JavaScript, making it a powerful tool for front-end development.

Related Reads

Up next
How to Do 90% Less Work with Claude Skills
Ana AI
Watch →