Easy Flipcard Tutorial | HTML & CSS

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

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

  • @injamamul_haq
    @injamamul_haq 12 วันที่ผ่านมา +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 ปีที่แล้ว +14

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

  • @kolobooi6855
    @kolobooi6855 ปีที่แล้ว +12

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

  • @vaim5982
    @vaim5982 ปีที่แล้ว +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.

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

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

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

    YOU ARE AN AMAZING TEACHER, LOVE YOU!!!

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

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

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

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

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

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

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

    Quite easy to follow the wonderful explanation you just did.

  • @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.

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

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

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

    Very clean solution.
    Thank you.

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

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

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

      Glad it was helpful!

  • @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!

  • @user-rj2hs1lz1i
    @user-rj2hs1lz1i 7 หลายเดือนก่อน

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

  • @user-bg3qy9zi7v
    @user-bg3qy9zi7v 25 วันที่ผ่านมา +1

    WOW! Thank you!

  • @siete3d950
    @siete3d950 2 ปีที่แล้ว +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  2 ปีที่แล้ว +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 8 หลายเดือนก่อน +1

    Excellent explanation, thanks a lot.

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

    Great video thanks for showing this cool effect

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

    Awesome! thank you

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

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

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

    woa nice tutorial - great explanation thanks:)

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

    THANKYOU so much bro really appreciate it

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

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

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

    Thanks. Nice tutorial.

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

    really helpful! thank you!

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

    Life saver!!

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

    Good job

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

    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?

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

    nice tutorial bro

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

    thank youu man, you save me

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

    Thanks a lot brader it was really helpful

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

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

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

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

    Thanks :D

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

    fantastic, can you do this with python?

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

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

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

    thanks

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

    thank you

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

    how can I put them all in the same row?

  • @overthenexthillgang
    @overthenexthillgang 11 หลายเดือนก่อน

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

      just reverse the content in divs

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

    tnx a lot sir

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

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

      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 :)

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

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

  • @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.

  • @user-wq9gk8ck2d
    @user-wq9gk8ck2d 5 หลายเดือนก่อน

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

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

    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

  • @user-bc2ht4mp2q
    @user-bc2ht4mp2q 9 หลายเดือนก่อน

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

      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.

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

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

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

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

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

    Bro, how did you render video in 4k

  • @user-wq9gk8ck2d
    @user-wq9gk8ck2d 5 หลายเดือนก่อน

    Cuz i need to make an desktop application

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

    thank you dude

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

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

    thank you