Easy Flipcard Tutorial | HTML & CSS

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • In this video I show how to create flip cards using HTML & CSS. This uses some transitions to animate the card as it flips over displaying additional information on the back.
    Code and assets on github: github.com/rus...

Komentáře • 86

  • @injamamul_haq
    @injamamul_haq Před 2 dny +2

    Very clear explanation. I watched few videos but didn't understand properly. But now, it's crystal clear to me. Take love from Bangladesh.

  • @hoangminh5819
    @hoangminh5819 Před rokem +14

    I would subscribe to anyone who make tutorial with a voiced guideline instead of some music for the entire video, really appreciated!!

  • @vaim5982
    @vaim5982 Před rokem +3

    Finally someone who explain what css style do and why, where had you been before 2018 ? I just gave up on programming but now I need a project for myself.

  • @kolobooi6855
    @kolobooi6855 Před rokem +11

    Needed this for a project, thanks a lot dude. very well explained and easy to understand!!

  • @JoseenAustralia
    @JoseenAustralia Před 2 lety +5

    Man, this video should have more views and likes. Amazing work, cheers bro !

  • @JacksDeadInside
    @JacksDeadInside Před rokem +5

    I know I'm late but this video saved my life. Really awesome and clear tutorial. 10/10

  • @daevski
    @daevski Před 3 měsíci +1

    My god… this was absolutely perfect 🎉 thanks for taking the time!!

  • @pfgdanish8852
    @pfgdanish8852 Před 9 měsíci +1

    in 2023 this is exactly what i want to flip the card thankyou sir :))

  • @gokulnaathb2627
    @gokulnaathb2627 Před 4 měsíci +1

    YOU ARE AN AMAZING TEACHER, LOVE YOU!!!

  • @paulsisson8944
    @paulsisson8944 Před rokem +1

    You get a like, subscribe and comment for a great video but the selling point was explaining how to hover the parent to animate the child. Too many CZcamsrs skip over this very important piece. Keep it up bruv.

  • @dominicabah5431
    @dominicabah5431 Před rokem +1

    Quite easy to follow the wonderful explanation you just did.

  • @omyele9315
    @omyele9315 Před rokem +1

    Thankyou very much for this video . Awesome my issue got fixed . Thankyou very much once again.

  • @rabatstadttv
    @rabatstadttv Před rokem

    wonderschon Video, danke schön für alle bemühungen, auch Ich liebe es, dein erklarungen sind die besten zu sagen. Ich wünsche Ihnen einen schönen Tag!

  • @user-rj2hs1lz1i
    @user-rj2hs1lz1i Před 6 měsíci

    Thank you i appreciate your amazing explanation, i wish that you will continue with css tutorials ❤

  • @gosinP
    @gosinP Před rokem +1

    Very clean solution.
    Thank you.

  • @arifkhan.101
    @arifkhan.101 Před 10 měsíci +1

    Thanks for Sharing this useful video. Really informative and you explained so well.

  • @user-bg3qy9zi7v
    @user-bg3qy9zi7v Před 16 dny +1

    WOW! Thank you!

  • @Anto-xh5vn
    @Anto-xh5vn Před rokem

    Thank you for not making this an over complicated bs like some other vidoes

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

    nice, I started with python but now I am interested in learning html, js and css, my goal is to have a web page where I can upload 3d renders so people can download them

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

      I went along the same path starting with python and on to html etc. Your project sounds really cool, hope to see it!

  • @LuisMedina-dk3vc
    @LuisMedina-dk3vc Před 8 měsíci +1

    Excellent explanation, thanks a lot.

  • @natevaub
    @natevaub Před 4 měsíci

    Great video thanks for showing this cool effect

  • @AZ-qn3xq
    @AZ-qn3xq Před měsícem

    Awesome! thank you

  • @kevin_neugebauer
    @kevin_neugebauer Před 4 měsíci

    woa nice tutorial - great explanation thanks:)

  • @QXCS
    @QXCS Před měsícem

    Hey, I have a question so I really enjoyed how it works, but then my question is. You made it that the image is in CSS, which would mean that I would have to copy my whole card for it to be duplaced in the CSS and HTML and for it to have a different background like showcasing multiple works of myself with the text at the back. Now I'm thinking instead of placing it in the CSS, place the image in the HTML, but I'm just a amateur in HTML so how would I make ti link with my CSS to have the same effect and place it as a img src?

  • @ruthrojasp
    @ruthrojasp Před rokem

    Thank you for share, this tutorial is very educative. You explaned every detail so we can undertand all steps.

  • @saulatz8614
    @saulatz8614 Před rokem +1

    THANKYOU so much bro really appreciate it

  • @rakheejones7785
    @rakheejones7785 Před 2 měsíci

    Hi, Thanks for the clear tutorial. I was wondering what the best method would be to have a ‘deck’ of cards with different fronts? Would it be best to have multiple classes for the front of the card in order to have a different background image in CSS, or would it be better to add the images in html and keep the css clean(sorry noob to coding)?

    • @rakheejones7785
      @rakheejones7785 Před 2 měsíci

      I’ve just come across nth-child so will try with that

  • @ellabeaumont-fay3865
    @ellabeaumont-fay3865 Před 10 měsíci +1

    Life saver!!

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

    Thanks. Nice tutorial.

  • @zhangjiaqi_1213
    @zhangjiaqi_1213 Před 10 měsíci

    really helpful! thank you!

  • @adanmaidana7441
    @adanmaidana7441 Před 7 měsíci

    thank youu man, you save me

  • @Iskael
    @Iskael Před rokem +1

    nice tutorial bro

  • @trytowaitforyou6812
    @trytowaitforyou6812 Před rokem

    Thanks a lot brader it was really helpful

  • @01CODE
    @01CODE Před rokem +1

    Good job

  • @quangtinator
    @quangtinator Před 7 měsíci

    if I have mutliple cards, is it possible to do sliding animation? Can you give me a hint?

  • @aungmyat9960
    @aungmyat9960 Před rokem +1

    how can I put them all in the same row?

  • @AmaxLegend80
    @AmaxLegend80 Před 2 lety +5

    fantastic, can you do this with python?

  • @user-wq9gk8ck2d
    @user-wq9gk8ck2d Před 4 měsíci

    Which application i need to download to run this code ?? Plzzz tell me

  • @Rsilvacortes
    @Rsilvacortes Před 2 lety +2

    Thanks :D

  • @overthenexthillgang
    @overthenexthillgang Před 11 měsíci

    Thanks for a clear explanation. Is there a way to switch the flip by having the text on the front and the image on the back?

  • @amannegi3806
    @amannegi3806 Před rokem +1

    i have given bg-image but it was not found showing on image ??

    • @CodingWithRuss
      @CodingWithRuss  Před rokem

      Make sure the file name is exactly the same and is in the correct folder, it should work OK if it can find the image.

  • @danielmuerner733
    @danielmuerner733 Před 7 měsíci

    What can i do that it works on Safari? i tried with a bit of js, but im not that good in coding. And i think on Mac safari it works, but on Mobile, the cards doesnt flip

  • @MarescottiMichele
    @MarescottiMichele Před 4 měsíci

    why z index dont work on the card ?

  • @ekukec
    @ekukec Před rokem

    I have a question. How do I put two ( or more ) of those flip cards next to each other? I would really appreciate it if you could help me out !

    • @jordanjames9491
      @jordanjames9491 Před 6 měsíci +1

      I had to change it up a bit to use in a project but just resize the cards for however large u need them then to allow for multiple cards side by side you can either use display flex(which gave a bit of problems if you're sticking to his html layout of elements) or use display: grid; and to allow for responsiveness use grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); and that should work, of course tailor it to your project and adjust the values accordingly

  • @user-bc2ht4mp2q
    @user-bc2ht4mp2q Před 8 měsíci

    Is it possible to have, for example, 5 cards with 5 different images in 1 css class styling, and have the page load them up in each card in the order you have them in the css file? Think 5 cards with the same class called "cards-front", with 5 links in the ".cards-front" css style, and then have the page load those links in a way that card #1 takes link #1 and card #2 takes link #2 etc. Or if you have a different, simple way of doing this, I'd love to hear that too.
    I tried Googling some stuff, but I couldn't find something that worked for me without having to give them separate classes. Currently a student working on improving my html/css skills, so any help would be appreciated.

    • @jordanjames9491
      @jordanjames9491 Před 6 měsíci

      There are simple ways of doing what you're trying to achieve I believe, but based on what I understand from what you're asking. #The cards will(for the most part) use the same styling, when it comes to the level of functionality that you're trying to get, I recommend using some JavaScript if you're looking for a direct and simple way to get the job done, plus it sounds like you're describing a onLoad function so that would be the route to take... In my opinion at least.

  • @elonfc
    @elonfc Před rokem +1

    Bro, how did you render video in 4k

  • @seankennelly2984
    @seankennelly2984 Před 6 měsíci

    This seems very helpful at first, but as it uses a set pixel width and height it is not responsive. Also as the content position is set to absolute it collapses to nothing without that fixed height. This code does not work in a gallery-style setting. A very good tutorial though, and just leaving this comment here to save my past self from using this (once I learn to time-travel)

    • @jordanjames9491
      @jordanjames9491 Před 6 měsíci

      I had the same issue but you don't really have to do much to achieve the result that it's lacking. Assuming you have multiple cards, just use display: grid; and grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); on the section container (NOT THE CARD-CONTAINER) and it will allow for a responsive design, but for a single card design, adjust the values of the card-container and you should be able to achieve the desired effect. Remember no code fits all, a dev always has to manipulate code as the situation requires :)

  • @BerkaniOussamaAlaEddine
    @BerkaniOussamaAlaEddine Před 8 měsíci

    thanks

  • @rishitakundu1865
    @rishitakundu1865 Před rokem +1

    thank you

  • @darius94arad15
    @darius94arad15 Před rokem

    Upon adding relative and absolute, my img would not be visible anymore, why? thanks,a amzing video!

  • @mdaohinuzzaman
    @mdaohinuzzaman Před rokem

    tnx a lot sir

  • @user-wq9gk8ck2d
    @user-wq9gk8ck2d Před 4 měsíci

    Cuz i need to make an desktop application

  • @umeshmadhuranga_6363
    @umeshmadhuranga_6363 Před rokem +1

    thank you dude

  • @ManGetsu-ck8zf
    @ManGetsu-ck8zf Před měsícem

    Hey man amazing video,
    I am having trouble with the card flip thing i need your help i have 5 cards and non of the code is working can you help me please

  • @PeriklesPeriklesoglu
    @PeriklesPeriklesoglu Před rokem

    thank you