Amazing CSS Neon 3D Cards With Animations

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 36

  • @hugocangi6214
    @hugocangi6214 4 месяца назад +1

    Hello Hank, good Sunday, I just finished your video on card css hover, spectacular, I thank you, I'm learning

    • @HankTheTankCoding
      @HankTheTankCoding  4 месяца назад

      Glad you liked it ! A good Sunday to you as well mate ❤️

  • @madhurmishra5145
    @madhurmishra5145 2 месяца назад +1

    Nice you r genius

  • @sefikizetbegovic5625
    @sefikizetbegovic5625 Месяц назад +1

    very impressive

  • @prasanthvaindam7113
    @prasanthvaindam7113 4 месяца назад +1

    Namaste Sir, I loved the design you created

  • @nataliareyesN7
    @nataliareyesN7 6 месяцев назад +1

    Beautiful, awesome, great tutorial, thanks!

  • @nomankarim2988
    @nomankarim2988 5 месяцев назад +1

    Very helpful for me
    Thank's

  • @robolearn
    @robolearn 7 месяцев назад +1

    Very Good 👏🏻👏🏻👏🏻👏🏻

  • @jcchaconjr
    @jcchaconjr 7 месяцев назад +1

    Very nice Hank! I do have a question, however. In reproducing this effect, I saw an opportunity to optimize the CSS code a bit by declaring variables for the filters as a style attribute in each card instance (creating the variable --hue as 0deg, 150deg, 300deg, and 90deg for each), as opposed to declaring and creating 3 more selectors to apply the filter. I then created the filter property for the .card selector and apply the variable into the property accordingly. While this achieved the desired effect (each card got its own hue), it somehow wound up disabling all of the 3D transform hover effects for the elements inside of the cards; the card itself still rotates when hovered. Do you happen to know why this happens?
    EDIT: Hmm... Since the cards were wrapped by the .parent div class, I experimented and applied the style to those instances, then moved the filter property to the .parent selector accordingly. THAT works. Now I'm curious as to why applying that filter using a variable would kill some the properties in the child classes? 🤔

    • @HankTheTankCoding
      @HankTheTankCoding  7 месяцев назад

      Hey! Well I'll have to check the video, I actually have forgotten what I did, will have to look it up and then can tell you haha, sorry bout that, glad it worked though. 🤜🏻🤛🏻🔥

    • @jcchaconjr
      @jcchaconjr 7 месяцев назад +1

      @@HankTheTankCoding Haha, no worries. I was just curious, because I'm relatively new to CSS and I haven't seen that kind of behavior before. FWIW, I applied this to each .card instance in index.html, i.e. style="--hue:150deg;", with each of the values plugged in above for each card class instance on the page.
      I then added this to the .card selector: filter: hue-rotate(var(--hue)); - this is what caused the hover effects for the elements inside the card to stop working. As mentioned above, moving the style declarations and the property to the .parent elements fixed the problem.
      Regardless, thank you so much for this demo. You've inspired me to play around and experiment with 3D transform effects! 😁

    • @HankTheTankCoding
      @HankTheTankCoding  7 месяцев назад +1

      Thanks alot for your wonderful comment, comments like these inspire me sooo much to keep going, even though there are days I feel down regardless of putting in so many videos in the channel, I'm glad that atleast some are getting help, means alot to me, really alot.

  • @AnwarSavan
    @AnwarSavan 10 месяцев назад +1

    Nice. New frind here hop d sme

  • @DigitalCreation-lo8ke
    @DigitalCreation-lo8ke 26 дней назад +1

    Link for image ?

    • @HankTheTankCoding
      @HankTheTankCoding  26 дней назад

      images.pexels.com/photos/1629236/pexels-photo-1629236.jpeg

  • @ashadulhoque7193
    @ashadulhoque7193 Год назад +1

    👍👍

  • @MaurizioMarvaso58
    @MaurizioMarvaso58 5 месяцев назад +1

    thanks...

  • @qurbonovozodbe
    @qurbonovozodbe 9 месяцев назад +1

    background img??

  • @rivardhanrana4339
    @rivardhanrana4339 5 месяцев назад +1

    Not working on my code😢😢

    • @HankTheTankCoding
      @HankTheTankCoding  5 месяцев назад

      Is it? Make sure to follow up well, you might have missed somewhere ;)

    • @rivardhanrana4339
      @rivardhanrana4339 5 месяцев назад +1

      @@HankTheTankCoding please provide codes in this video description

    • @HankTheTankCoding
      @HankTheTankCoding  5 месяцев назад

      @@rivardhanrana4339 I usually provide the source code but for this one idh the code unfortunately, pls check the latest one , thank you

    • @rivardhanrana4339
      @rivardhanrana4339 5 месяцев назад +1

      @@HankTheTankCoding thanks for your help actually I'm very frustrated 😔😔😔 because I'm 27 and I have no skills and I don't know how do I make myself jobs 😭😔 so I need too much help....

    • @HankTheTankCoding
      @HankTheTankCoding  5 месяцев назад

      @@rivardhanrana4339 don't worry , keep working hard steadily, you'll make it. God will help you ❤️