Easy Flipcard Tutorial | HTML & CSS

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025
  • 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...

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

  • @injamamul_haq
    @injamamul_haq 5 หลายเดือนก่อน +5

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

  • @plixplop
    @plixplop 2 หลายเดือนก่อน +1

    Just what I needed, thanks! I was stuck on the "jittering" glitch until I found this tutorial.

  • @pumkinstars
    @pumkinstars 2 ปีที่แล้ว +14

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

  • @hoangminh5819
    @hoangminh5819 ปีที่แล้ว +16

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

  • @JoseenAustralia
    @JoseenAustralia 3 ปีที่แล้ว +5

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

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

    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.

  • @daevski
    @daevski 8 หลายเดือนก่อน +1

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

  • @gokulnaathb2627
    @gokulnaathb2627 10 หลายเดือนก่อน +1

    YOU ARE AN AMAZING TEACHER, LOVE YOU!!!

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

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

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

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

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

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

  • @paulsisson8944
    @paulsisson8944 ปีที่แล้ว +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 TH-camrs skip over this very important piece. Keep it up bruv.

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

    Quite easy to follow the wonderful explanation you just did.

  • @M.samerislam
    @M.samerislam ปีที่แล้ว

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

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

    Very clean solution.
    Thank you.

  • @rabatstadttv
    @rabatstadttv ปีที่แล้ว

    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!

  • @LuisMedina-dk3vc
    @LuisMedina-dk3vc ปีที่แล้ว +1

    Excellent explanation, thanks a lot.

  • @arifkhan.101
    @arifkhan.101 ปีที่แล้ว +1

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

  • @natevaub
    @natevaub 9 หลายเดือนก่อน

    Great video thanks for showing this cool effect

  • @koulchi00
    @koulchi00 10 วันที่ผ่านมา

    Insightful ❤

  • @siete3d950
    @siete3d950 3 ปีที่แล้ว +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  3 ปีที่แล้ว +1

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

  • @user-bg3qy9zi7v
    @user-bg3qy9zi7v 6 หลายเดือนก่อน +1

    WOW! Thank you!

  • @kevin_neugebauer
    @kevin_neugebauer 10 หลายเดือนก่อน

    woa nice tutorial - great explanation thanks:)

  • @ruthrojasp
    @ruthrojasp ปีที่แล้ว

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

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

    THANKYOU so much bro really appreciate it

  • @Anto-xh5vn
    @Anto-xh5vn 2 ปีที่แล้ว

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

  • @Maryamshah-s9d
    @Maryamshah-s9d 10 หลายเดือนก่อน

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

  • @QXCS
    @QXCS 7 หลายเดือนก่อน

    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?

  • @AZ-qn3xq
    @AZ-qn3xq 7 หลายเดือนก่อน

    Awesome! thank you

  • @ellabeaumont-fay3865
    @ellabeaumont-fay3865 ปีที่แล้ว +1

    Life saver!!

  • @Hattrik94
    @Hattrik94 2 ปีที่แล้ว +1

    Thanks. Nice tutorial.

  • @rakheejones7785
    @rakheejones7785 8 หลายเดือนก่อน

    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 8 หลายเดือนก่อน

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

  • @aungmyat9960
    @aungmyat9960 2 ปีที่แล้ว +1

    how can I put them all in the same row?

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

    nice tutorial bro

  • @danielmuerner733
    @danielmuerner733 ปีที่แล้ว

    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

  • @quangtinator
    @quangtinator ปีที่แล้ว

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

  • @zhangjiaqi_1213
    @zhangjiaqi_1213 ปีที่แล้ว

    really helpful! thank you!

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

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

    • @CodingWithRuss
      @CodingWithRuss  ปีที่แล้ว

      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.

  • @OguzhanYasar-d2v
    @OguzhanYasar-d2v ปีที่แล้ว

    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 11 หลายเดือนก่อน

      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.

  • @01CODE
    @01CODE 2 ปีที่แล้ว +1

    Good job

  • @adanmaidana7441
    @adanmaidana7441 ปีที่แล้ว

    thank youu man, you save me

  • @trytowaitforyou6812
    @trytowaitforyou6812 ปีที่แล้ว

    Thanks a lot brader it was really helpful

  • @overthenexthillgang
    @overthenexthillgang ปีที่แล้ว

    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?

    • @dart_ariz604
      @dart_ariz604 9 หลายเดือนก่อน

      just reverse the content in divs

  • @AmaxLegend80
    @AmaxLegend80 3 ปีที่แล้ว +5

    fantastic, can you do this with python?

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

      Yea I think so! It's easier with CSS though :)

  • @MarescottiMichele
    @MarescottiMichele 10 หลายเดือนก่อน

    why z index dont work on the card ?

  • @ekukec
    @ekukec ปีที่แล้ว

    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 11 หลายเดือนก่อน +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

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

    Thanks :D

  • @elonfc
    @elonfc 2 ปีที่แล้ว +1

    Bro, how did you render video in 4k

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

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

  • @seankennelly2984
    @seankennelly2984 ปีที่แล้ว

    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 11 หลายเดือนก่อน

      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 ปีที่แล้ว

    thanks

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

    thank you

  • @Maryamshah-s9d
    @Maryamshah-s9d 10 หลายเดือนก่อน

    Cuz i need to make an desktop application

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

    tnx a lot sir

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

    thank you dude

  • @ManGetsu-ck8zf
    @ManGetsu-ck8zf 6 หลายเดือนก่อน

    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

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

    thank you