Create a pulsing animation with CSS

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • CSS is so much fun! In this video I look at how to add a pulsing animation on hover to a card component that I'm building out. At the start I do it at 5x the size so we can really see what's happening, before later integrating it into the popdog card that I'm trying to clone.
    I hope you enjoy this one!
    Creating the card: • Animated card with HTM...
    Setting up the Font Awesome Icons: • Setting up Font Awesom...
    The Code: github.com/kev...
    #css #popdogclone
    --
    Come hang out with other dev's in my Discord Community
    💬 / discord
    ---
    Keep up to date with everything I'm up to
    ✉ www.kevinpowel...
    ---
    Help support my channel
    👨‍🎓 Take a course: www.kevinpowel...
    👕 Buy a shirt: teespring.com/...
    💖 Support me on Patreon: / kevinpowell
    ---
    My editor: VS Code - code.visualstu...
    ---
    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 TH-cam channel, make sure to follow me on Instagram and Twitter.
    Instagram: / kevinpowell.co
    Twitter: / kevinjpowell
    Codepen: codepen.io/kev...
    Github: github.com/kev...
    ---
    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

ความคิดเห็น • 79

  • @TheSpaceman4991
    @TheSpaceman4991 4 ปีที่แล้ว +32

    When you made opacity 0 on 100% I was like holy shit! This is so simple and so elegant at the same time. I love all of this. I haven't even finished the video yet.

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว +4

      haha, awesome, glad you're enjoying it

  • @reciprocal1.0
    @reciprocal1.0 4 ปีที่แล้ว +20

    I love this, God Bless You for everything.

  • @AjajRajguruAJ
    @AjajRajguruAJ 4 ปีที่แล้ว +6

    Like the fact that you are so good with core css that you don't need to debug(inspect element) to fix random issues. Always learn something or the other from your videos. Keep up the good work.

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว +4

      That's still what I do when I'm stuck, but I give myself a few seconds to see if I can figure it out first :)

  • @atarixle
    @atarixle 4 ปีที่แล้ว +5

    I yes, I stole that for a micro-page I am working on. Thank you Sir, so much for your ideas, and for also little skills when it comes to responsive CSS. All combined "make my life easier".

  • @StephenMoreira
    @StephenMoreira 4 ปีที่แล้ว +3

    My new favorite channel, I'm a full stack developer and my weakest side is certainly CSS, design, styling , hell even how to think about everything. Need more channels with this type of focus ^_^ thanks so much!

  • @lonniesmith8093
    @lonniesmith8093 4 ปีที่แล้ว +1

    Hi Kevin. I wanted to mention how I think your videos are professional, intuitive and genuine. I'm not even a developer myself. I have an understanding of web development through many online videos or books that I view away from my completely unrelated field of work. I don't watch every video of yours but the ones I do when I have time made me want to offer support and encouragement towards your efforts in what you do! Keep up the good work!

  • @VinnieBrazelton13
    @VinnieBrazelton13 4 ปีที่แล้ว +1

    You’ve helped me understand just how much you can do with CSS. Thank you very much for all your content!

  • @kristianulvund4274
    @kristianulvund4274 4 ปีที่แล้ว +2

    Watching you code makes me happy🤩

  • @infosandfacts7536
    @infosandfacts7536 4 ปีที่แล้ว +1

    Watching this magic on the couch is like meditation 👍😀

  • @demm9000
    @demm9000 2 ปีที่แล้ว

    Thank you! Your tutorial helped me to make an oval shadow growing and back, just changing a dew things! THANKS A LOT! :D

  • @codzymajor
    @codzymajor 4 ปีที่แล้ว

    I have signed up for Scrimba but instead I have found myself spending all my time here. I need to get back to Scrimba and show off what I have learnt here! Great tutorial!

  • @MarlonEnglemam
    @MarlonEnglemam 3 ปีที่แล้ว

    for some reason I thought this was going to be hard to make lol, but it's so simple! I think sometime we overthink ways to code stuff that in the end the simplest way is the best and easiest!

  • @Vesennia
    @Vesennia 4 ปีที่แล้ว

    after watching the other videos with sass, this was confusing. so many icon classes...
    still freaking amazing and so happy that the github repo had with sass, so I could make it look pretty agian.

  • @aglowkeys
    @aglowkeys 4 ปีที่แล้ว +1

    Thank you for your videos, Kevin! They made me regain my motivation and I actually started designing again. I forgot how much I enjoyed it. You are awesome!

  • @MrGreenpaulo
    @MrGreenpaulo 3 ปีที่แล้ว

    Like others have said, I'm really enjoying the popdog series too. Great video! Thanks Kevin

  • @CreepToeJoe
    @CreepToeJoe 4 ปีที่แล้ว

    I've been following along these great videos with SCSS. Managed to fix that shivering hover state when you approach the card from the bottom side. I'm just gonna wait for the fourth part and make a PR on GH.

  • @avneet12284
    @avneet12284 4 ปีที่แล้ว

    Looked so easy but wasn't. So good. Thanks, Kevin.

  • @tobia5416
    @tobia5416 4 ปีที่แล้ว

    I'm loving this videos about the popdog component, great and fun way to explore new ideas! keep them coming please!

  • @bobbyboxer2664
    @bobbyboxer2664 3 ปีที่แล้ว

    Dude, you’re a CSS beast!!!

  • @abicinemafood
    @abicinemafood 4 ปีที่แล้ว

    I've been following your channel for quite a while now, and I have learned a lot from your videos. Thank you!

  • @alaamohammed4668
    @alaamohammed4668 4 ปีที่แล้ว

    Thanks very much for everything you did for us, I have a suggestion if you please, if videos are shorter than it is now I think it would be great, thanks again

  • @chunk1978
    @chunk1978 4 ปีที่แล้ว

    Nice. I didn't realize that specificity was increased if there were more classes targeted in the rule.

  • @gurupalsingh
    @gurupalsingh 4 ปีที่แล้ว +1

    Kevin the best :) . Learning amazing things

  • @hassaneoutouaya
    @hassaneoutouaya 2 ปีที่แล้ว

    THANK YOU SO MUCH !

  • @fredhair
    @fredhair 4 ปีที่แล้ว

    Careful with that bombay sapphire! Can be dangerously drinkable stuff! Love your videos man often learn something new so thanks for putting in the time and effort to make these.

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว

      Haha, that's my wife's. I can't stand gin personally. More of a beer guy, though I won't say no to a good scotch 😊 🍻

    • @fredhair
      @fredhair 4 ปีที่แล้ว

      @@KevinPowell Good choice lol. I love tequila infused beer, and good English cider (Im from the UK) but one xmas my friend got his mixing skills a bit backward and I had near half a pint of gin with a couple shots of mixer! Spent the next 4 hours making snow angels in every front yard in our village haha.

  • @amraldroubie3127
    @amraldroubie3127 2 ปีที่แล้ว

    pulse effect we can make with box-shadow also is more simple
    thanks for nice content

  • @thecubersahil6827
    @thecubersahil6827 4 ปีที่แล้ว

    What is this sorcery! woah

  • @diegorocha2186
    @diegorocha2186 4 ปีที่แล้ว

    Amazing content as usual, thanks a lot!

  • @GoWokeGoBroke1
    @GoWokeGoBroke1 4 ปีที่แล้ว

    Hello Kevin. I'm a backend developer focused primarily on using typescript on node.js, so I'm no front end developer. Right now I'm starting to learn some front-end using Angular. Nevertheless designing has always been difficult for me. The colors, shapes, sizes, all that stuff has never been my strong point.
    Do you believe this is something you're born with? That is the ability to discern colors and select the right shape for every case
    As an example, you have a perfect eye for shapes, sizes, and color, like OMG! I wish I could do the same.
    Anyways, Although I'm not a front-end developer (yet, hopefully) I've been subscribed to you for a long time now, and i LOVE what you do. It's such a nice work, you inspire me to keep learning.
    Thanks for your hard work. Please keep it up :) Greetings from Latin America
    PD: I have a basic knowledge of CSS, but it's just basic. Do you recommend me to stick to CSS or rather learn something like SASS? ty

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว

      Design is a learned skill just as much as anything else. Some people might have a natural tendency toward it, but you can 100% learn to be a good designer.
      Personally I love Sass, but a good foundation in CSS is a good starting point 😊. Sass adds loops and functions to CSS though, so it's super handy.

    • @GoWokeGoBroke1
      @GoWokeGoBroke1 4 ปีที่แล้ว

      @@KevinPowell Thanks!!! That is very helpful ;)

  • @blazi_0
    @blazi_0 3 ปีที่แล้ว

    Wow ,actually css is fun

  • @adilhussain1838
    @adilhussain1838 4 ปีที่แล้ว

    Great Sir

  • @yashpandey9550
    @yashpandey9550 4 ปีที่แล้ว

    Brilliant. Love the content.

  • @skyblaze6687
    @skyblaze6687 3 ปีที่แล้ว

    Should use transparency on videoplay icon

  • @stevenschaner6818
    @stevenschaner6818 4 ปีที่แล้ว

    I love everything that you do. You are an inspiration to us all. What screen casting software do you use?

  • @pro-cr2eo
    @pro-cr2eo 4 ปีที่แล้ว +1

    Who else first hits like button before watching his new videos

  • @pratikkore7947
    @pratikkore7947 4 ปีที่แล้ว

    Much better than the purple

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว +1

      Really? I find I look orange and blend into the background, lol. I'll be playing with it more :)

    • @pratikkore7947
      @pratikkore7947 4 ปีที่แล้ว

      @@KevinPowell i read an article long ago and it said that warm tones complement skin tones, the optimal shade may differ for different skin tones but they're definitely better than pure red/green/blue. I didn't believe it back then but that orange background really made me remember and believe it. You could make a dark background work if you get some neon art back there. The idea of an endless void behind you is sub-consciously distracting, maybe👀

  • @architrrathi
    @architrrathi 3 ปีที่แล้ว

    Hi Kevin! I am having some problems when you changed the position of the image container as "Relative". My "text-align : center doesn't work after that and 2 things happen-
    1. The round image goes to the left instead of the center.
    2. The red-colored background that we are using for the pseudo element for .icon becomes a big ellipse and fills up the whole width of the window.
    I am not sure how to solve this and have been brainstorming ideas for a few hours now.
    Would really appreciate some help. But otherwise, I love your videos and they inspire me to code everytime I watch them,

  • @AliHassan-dt6jr
    @AliHassan-dt6jr 4 ปีที่แล้ว +1

    Hi kewin , can you suggest tips for designing a website for beginner.Whenever I start designing, I felt empty

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว +3

      Try to find some inspiration through other sites first. Not to copy, but to give you a direction to start working in.

    • @AliHassan-dt6jr
      @AliHassan-dt6jr 4 ปีที่แล้ว

      @@KevinPowell thank you 💓

  • @IliePandia
    @IliePandia 4 ปีที่แล้ว

    Interesting... I imagined you were going to do this with either shadows or borders.

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว +1

      Animating shadows can really quickly lead to some janky animations. Would probably look decent, bit I'd be worried about performance.

  • @JustinDoesntLookAt
    @JustinDoesntLookAt 4 ปีที่แล้ว +2

    Dude want to play with this and sync it up to music

  • @Paul_Marek
    @Paul_Marek 4 ปีที่แล้ว

    Great series! Since a lot of this is done on mouseover action, what is the UX on this animation stuff for people on mobile?

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว

      Haven't even really considered it to be honest. Mobile wouldn't have any animations in this case, they'd click on the card and be brought directly to the page for that game, where the streams are set up in order of popularity anyway. At least that's how it's set up on their actual site :)

  • @muhammadans2193
    @muhammadans2193 3 ปีที่แล้ว

    sir, please start series on tailwindcss

  • @gokuleshkumar-oe4cp
    @gokuleshkumar-oe4cp 12 วันที่ผ่านมา

    Hi,sir i have one problem can u solve me.
    When iam started to doing project.My mind like blank,no idea will come in my mind about design.like how look my website,content etc how resolve my mind..?

  • @ibadurrehman.indian
    @ibadurrehman.indian 4 ปีที่แล้ว

    Can we use animation with flexbox ? I just want animation when switching flex-direction from column to column-reverse and vice versa.

  •  4 ปีที่แล้ว

    I am quite dissapointed: one of the things that made me suffer the most is trying to manage images within pages but, if I understood you well, you choose to work with one photo instead of another because of the size of it.
    Does that mean we have to force images sizes and resolutions?

  • @kevindivinagracia8620
    @kevindivinagracia8620 2 ปีที่แล้ว

    i cant find the answer in google . The drop shadow is working to font awesome icon..
    but i want to be a drop shadow inset.. can you make this KingofCSS ?

  • @abd_sh_321
    @abd_sh_321 3 ปีที่แล้ว

    Me,an Intellectual: Uses Tailwind class ping

  • @hamzarashid7579
    @hamzarashid7579 3 ปีที่แล้ว

    Have any begginers css animation tutourials?

  • @TheNamesJT
    @TheNamesJT 4 ปีที่แล้ว

    The play icon not showing up in codepen?

  • @Beraksekebon21
    @Beraksekebon21 4 ปีที่แล้ว

    anyone found this bit confusing? since apparently user icon also have the class of .icon

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว +1

      Sorry about that. I fixed the scope on github, nesting everything I did here as .streamer .icon { ... } so that it leaves the intial one alone. I probably should have named it all a little better looking back at it. Maybe I'll do a refactor of it live one day to clean things up.

  • @MiguelFelipeCalo
    @MiguelFelipeCalo 3 ปีที่แล้ว

    How would you go about this with ie11?

  • @hustlershorts
    @hustlershorts 4 ปีที่แล้ว

    can you do a seperate video on replaced elements I'm really interested to know how they work and Thanks

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว +1

      I'll add it to my todo. Bascially it just means it's taking the tag you have, and switching it for content from one of it's attributes. So, an image is "replaced" by the image itself. An is "replaced" by the site that's in the .

    • @hustlershorts
      @hustlershorts 4 ปีที่แล้ว

      @@KevinPowell Thanks you are a legend

  • @souhailkaoussi6415
    @souhailkaoussi6415 4 ปีที่แล้ว

    Dude looks like Jerry from Rick and Morty

  • @inspireitoday
    @inspireitoday 4 ปีที่แล้ว

    He should apply comma while talking.

  • @givemetime477
    @givemetime477 4 ปีที่แล้ว +2

    create a functioning rubric cube using html css and JavaScript plzzzzzZzz......

    • @KevinPowell
      @KevinPowell  4 ปีที่แล้ว +2

      Could be a fun project, but if I do it, it might be a loooong way away, lol. I'd have to figure it out first.

    • @givemetime477
      @givemetime477 4 ปีที่แล้ว

      @@KevinPowell do it plzzz😍

  • @huzaifahattah6481
    @huzaifahattah6481 4 ปีที่แล้ว

    Here..

  • @ElysiaWepts
    @ElysiaWepts 4 ปีที่แล้ว

    Hi Kevin, just wonder if you have checked out this: twitter.com/MengTo/status/1296425988746817536
    Not exactly the most user-friendly UI, but definitely look good. Perhaps in-depth perspective transform and blend mode for your next topics some times in the future?

  • @reciprocal1.0
    @reciprocal1.0 4 ปีที่แล้ว +1

    First Here can I get a prize :)

  • @BBroCodeCorner
    @BBroCodeCorner 4 ปีที่แล้ว +1

    👆🏻👆🏻👆🏻👆🏻👆🏻👆🏻👆🏻👆🏻👆🏻
    Amazing video from Kelvin Sir❤️
    I like this video........
    👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻