Flipping Card Animation Using HTML and CSS

Sdílet
Vložit
  • čas přidán 13. 09. 2024
  • In this video, let's create a simple flipping card animation using HTML and CSS. The most important properties that adds the final effect is 'backface-visibility' and 'transform-style'.
    Get the code here: codepen.io/rya...
    Find me here:
    Twitter: / ryanwebtech1
    Instagram: / ryanwebtech1
    Codepen: codepen.io/rya...

Komentáře • 38

  • @roba9443
    @roba9443 Před 4 lety +4

    Works great. For Chrome 83, add "backface-visibility: hidden;" to the parent ".front,.back" rule as well.

    • @AlexGb007
      @AlexGb007 Před 2 lety

      Thank you for this very helpful advice. Solved that weird „glitch“ for me while flipping the card.

  • @AngaarUriakhil
    @AngaarUriakhil Před 2 lety +1

    Clearest video on the topic - thanks!

    • @RyanWebTech1
      @RyanWebTech1  Před 2 lety

      Thank you. Glad you found the video helpful.

  • @danyquintero3895
    @danyquintero3895 Před rokem

    Thank you so much Dharm, you explain much better than my professor, hugs from Colombia 🇨🇴🔥

  • @all-eter-4289
    @all-eter-4289 Před rokem +1

    very clear thanks you!

  • @ayeshababar8383
    @ayeshababar8383 Před 2 lety

    Thank you so much Sir! I needed to make this for an assignment, and it works great!

  • @apan0608
    @apan0608 Před 2 lety

    Very good tutorial, adding the position: relative and transform-style to parent has solved the issues I have been scratching my head with!

    • @RyanWebTech1
      @RyanWebTech1  Před 2 lety

      Thanks. Glad you found the video helpful.

  • @dharmbharodiya5158
    @dharmbharodiya5158 Před 3 lety +2

    This really helped! The way you explain everything is just amazing.

  • @HabunoGD1821
    @HabunoGD1821 Před rokem

    Good Job! Perfect...

  • @prasadsawant22
    @prasadsawant22 Před 3 lety

    I loved your presentation ❤️👍

  • @SvetaSveta-ms4hi
    @SvetaSveta-ms4hi Před 2 lety

    Thanks a billion! ❤️

  • @seeker3794
    @seeker3794 Před rokem

    Thank you very much.

  • @theWorldIsMultivariate

    Thank you so much!!

  • @messi_codes
    @messi_codes Před 2 lety

    thanks for wonderful video bro

  • @Mostafa-ke7hj
    @Mostafa-ke7hj Před 4 lety +1

    thanks very helpful

  • @kanna6835
    @kanna6835 Před 3 lety

    Thank you... for your clear explanation :)

  • @onthegocode1443
    @onthegocode1443 Před 2 lety

    Great tutorial, learned a ton of stuff!!!

  • @feedgaming8374
    @feedgaming8374 Před rokem

    thank u so much

  • @zakariyaabaouali6904
    @zakariyaabaouali6904 Před 3 lety

    thanks bro you help me a lot ❤❤

  • @CodingLover1
    @CodingLover1 Před 2 lety

    Thanks a lot awesome .

  • @NamelessG0D
    @NamelessG0D Před 4 lety

    Thanks, very helpful.

  • @memo_force
    @memo_force Před 2 lety

    nice 👍

  • @mohamedyoussef8835
    @mohamedyoussef8835 Před rokem

    Awesome video ++++++++++++++++++ 🙂

  • @cawai2815
    @cawai2815 Před 4 lety

    Thanks, it would be very useful.

  • @rodmejiao7340
    @rodmejiao7340 Před 3 lety

    Amazing bro!

  • @achimovicidamir2119
    @achimovicidamir2119 Před 3 lety

    thanks

  • @bretts7740
    @bretts7740 Před 4 lety

    very helpful!

  • @RajeshThakur-nm3fr
    @RajeshThakur-nm3fr Před 2 lety

    Hello I am not able to give padding inside card. padding is coming out of the card. Please try to explain me asap.

  • @morgan1827
    @morgan1827 Před 2 lety

    if i have 9 card frond and back, how i flip this ?

  • @stefanpfadt4353
    @stefanpfadt4353 Před 2 lety

    Hey cool ☺ Any chance to start the flip when you toggle a switch? (e.g. monthly to yearly)

    • @RyanWebTech1
      @RyanWebTech1  Před 2 lety

      That's a cool idea. The toggle switch can be implemented using the "checkbox" hack or a few lines of JavaScript.

    • @stefanpfadt4353
      @stefanpfadt4353 Před 2 lety

      @@RyanWebTech1 Do you know any good websites where I could find out more about this sort of Javascrip issue? I am not a coder and its quite difficult for me to find the right/good sources ;)

  • @bipinsanghvi7834
    @bipinsanghvi7834 Před 3 lety

    Instead of card, how can I use any picture for the same front n back type flip card effect.

    • @hashirmalik9055
      @hashirmalik9055 Před 2 lety

      add that picture in div with front and back classes

  • @Siddh_Galactica
    @Siddh_Galactica Před 4 lety +2

    You copied it from yahoo baba