No video

CSS Flip Card Effect

  Рет қаралды 245,197

Arjun Khara

Arjun Khara

Күн бұрын

Create a flip card using just HTML and CSS3. The process requires just 5 essential blocks of CSS code. Flip cards are great space-savers for website content, and can greatly boost online user experiences. The code snippet for this tutorial is in the comments.

Пікірлер: 364
@ArjunKhara
@ArjunKhara 7 жыл бұрын
Here is the code snippet for this tutorial on CSS flip cards. Feel free to customise the code and content for your projects. CSS Card Flip body{ background: #3C5377; } /* THE MAINCONTAINER HOLDS EVERYTHING */ .maincontainer{ position: absolute; width: 250px; height: 320px; background: none; top: 50%; left: 50%; transform: translate(-50%, -50%); } /* THE CARD HOLDS THE FRONT AND BACK FACES */ .thecard{ position: relative; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; transform-style: preserve-3d; transition: all 0.8s ease; } /* THE PSUEDO CLASS CONTROLS THE FLIP ON MOUSEOVER AND MOUSEOUT */ .thecard:hover{ transform: rotateY(180deg); } /* THE FRONT FACE OF THE CARD, WHICH SHOWS BY DEFAULT */ .thefront{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; backface-visibility: hidden; overflow: hidden; background: #ffc728; color: #000; } /* THE BACK FACE OF THE CARD, WHICH SHOWS ON MOUSEOVER */ .theback{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; backface-visibility: hidden; overflow: hidden; background: #fafafa; color: #333; text-align: center; transform: rotateY(180deg); } /*This block (starts here) is merely styling for the flip card, and is NOT an essential part of the flip code */ .thefront h1, .theback h1{ font-family: 'zilla slab', sans-serif; padding: 30px; font-weight: bold; font-size: 24px; text-align: center; } .thefront p, .theback p{ font-family: 'zilla slab', sans-serif; padding: 30px; font-weight: normal; font-size: 12px; text-align: center; } /*This block (ends here) is merely styling for the flip card, and is NOT an essential part of the flip code */ Front of CardThis is the front of the card. It contains important information. Please see overleaf for more details. Back of CardYour use of this site is subject to the terms and conditions governing this and all transactions. Submit
@lesterdiaz6786
@lesterdiaz6786 6 жыл бұрын
how to make it responsive?
@appleproschoolnyheter5810
@appleproschoolnyheter5810 6 жыл бұрын
Awesome effect but when I hover my text gets reverse... Even if I copy your code here, plz help me understand why and how I can fix it
@vandebansal2331
@vandebansal2331 5 жыл бұрын
Thanku for giving this code i like it.... G@@d
@BMYL2022
@BMYL2022 5 жыл бұрын
Bonjour c'est pas possible de nous faire la vidéo en francais s'il vous plait merci
@saintwinner9769
@saintwinner9769 5 жыл бұрын
thank you
@TomTom-jv5sv
@TomTom-jv5sv 4 жыл бұрын
WTF. In 6 minutes everything explained. And then the sandwich example. Wow respect. Perfect explained.
@gwija5783
@gwija5783 11 ай бұрын
This tutorial is gold. Not only it shows you how to achieve the desired effect in a straight to the point way, but it then takes the time to explain how everything works and why! Thank you for making this
@ArjunKhara
@ArjunKhara 11 ай бұрын
Thanks very much for your comments; made my day!
@naushadansari708
@naushadansari708 3 жыл бұрын
that's called the way of explaining things perfectly, Respect you to provide the quality content
@kaushikdr
@kaushikdr 3 жыл бұрын
I just got it and I hope I can make you guys get this as well. So the key is the backface-visibility, the transform for the back, and the pseudoclass. Basically, what he is doing is he is creating two faces and having them be invisible when either one is on their back. By having theback be flipped at the beginning, the front is visible and the back is not (which is why we don't need to worry about z-index!) So, every time the hover psuedoclass is called (basically means that when you hover over a class, something will happen), one of the cards will be flipped invisible and the other one will be flipped visible!
@rileygriffin8006
@rileygriffin8006 Жыл бұрын
Finally! An easy-to-understand tutorial that gets straight to the point and it works
@RD-lf3pt
@RD-lf3pt 4 жыл бұрын
Awesome video. Just remember for Safari to also include: -webkit-backface-visibility: hidden;
@ArjunKhara
@ArjunKhara 4 жыл бұрын
yes that fallback should’ve been included. Thanks for sharing mate :)
@SchwarzerFalke
@SchwarzerFalke 2 жыл бұрын
You are my hero dude. Thank you. Almost get crazy :D
@alexgochenour8740
@alexgochenour8740 4 жыл бұрын
Thank you, Arjun. I have struggled to get this great feature to work for days... until I found your channel. Now I have a prettier website. Have a great day!
@ArjunKhara
@ArjunKhara 4 жыл бұрын
Hi Alex - You’re very welcome. I’m glad the tutorial helped and thanks very much for your amazing comment. Absolutely made my day :D cheers
@julialee690
@julialee690 2 жыл бұрын
Tried to make it work with other videos too but yours is the only video that actually helped me!!! Thank you !!
@ArjunKhara
@ArjunKhara 2 жыл бұрын
Hi Julia, glad it worked for you! Please let me know if you have any questions. Cheers!
@salman-asghar
@salman-asghar Жыл бұрын
Hello Dear, Your coding skills and experience are great. Welcome, Viewers Arjun Khara is doing a difficult thing in a easy way. Thanks, Thank, Thanks a lot Arjun Khara 🤩🤩
@darius94arad15
@darius94arad15 Жыл бұрын
I have only admiration for your work, the way you explain and the way you show all posibilities of which would and wouldn't work, you are amazing and help loads building up own logic ! I wish you would have invested more time into this.
@ArjunKhara
@ArjunKhara Жыл бұрын
Thank you very much for your kind comments. Made my day! I'll be putting up more videos soon now that my course of study is over. Cheers!
@Mehrankhan-bh4gf
@Mehrankhan-bh4gf 3 жыл бұрын
I am watching this video in 2021 but i have never watched a video of explanation like that great job
@ijoa
@ijoa 6 жыл бұрын
"...and CSS you next time" i just had to give you a like for that alone
@sksahinparvej5500
@sksahinparvej5500 5 ай бұрын
This can't be more easier than this great explanation sir thank you helps a lot ♥️
@sayurikamble825
@sayurikamble825 3 жыл бұрын
Had been banging my head onto every YT tutorial to create a flip card.... And this is the Best and Easiest so far .... LiferSaver ..... Thanks Man for this .... Keep Going!!!
@steevoni1
@steevoni1 3 жыл бұрын
Clear, simple and all that is possible because of your awesome step by step explanation thank you for this tutorial and the hard work you put into editing this video for your viewers.
@ArjunKhara
@ArjunKhara 3 жыл бұрын
Thank you for your very kind words; made my day :D. Glad you found the tutorial useful!
@steevoni1
@steevoni1 3 жыл бұрын
@@ArjunKhara Yes thank you very much, your tutorial was very helpfu🤓l, I wish you further success; and more subscribers in the near future, and with the way you handle things I believe that it is possible. 😀
@steevoni1
@steevoni1 3 жыл бұрын
@@ArjunKhara Yes thank you very much, your tutorial was very helpfu🤓l, I wish you further success; and more subscribers in the near future, and with the way you handle things I believe that it is possible. 😀
@ArjunKhara
@ArjunKhara 3 жыл бұрын
@@steevoni1 Thank you so much! :)))
@ashleysangma407
@ashleysangma407 3 жыл бұрын
The best explanation I found.
@thedarkbrickstudio2452
@thedarkbrickstudio2452 13 күн бұрын
Thank you for the explanations. Really makes the tutorial easy to understand and follow.
@jnova2766
@jnova2766 Жыл бұрын
I'm 5 years late but this is really good tutorial! thank you
@bretts7740
@bretts7740 4 жыл бұрын
This is a fantastic tutorial. After watching several tuts of flipping cards your explanation put it all together for me. I really appreciate it!
@ArjunKhara
@ArjunKhara 4 жыл бұрын
Thanks for your very nice comment :) glad you found the tutorial useful.
@TheDanthelion
@TheDanthelion 10 ай бұрын
great tutorial, after looking at lots of different resources I still felt a bit stumped, but after watching this video I understand how to get the desired flip effect, and also understand how I could create other unique 3d effects using this process
@olansean9868
@olansean9868 6 жыл бұрын
you are such a good tutor, you are talented
@ArjunKhara
@ArjunKhara 6 жыл бұрын
Haha thanks very much! This totally made my day :)
@83greene
@83greene 6 жыл бұрын
Brilliant video! and thank you for taking your time to really explain step by step what each code means!
@ArjunKhara
@ArjunKhara 6 жыл бұрын
Thanks very much - this is such a nice comment :)
@827023685
@827023685 5 жыл бұрын
great tutorial. really loved the sandwich example, it cleared the one doubt i had. Make more videos, please
@abrar8133
@abrar8133 3 жыл бұрын
I finally understood this flipping card code! thank you
@ArjunKhara
@ArjunKhara 3 жыл бұрын
You're very welcome!
@gibernaujk
@gibernaujk 6 жыл бұрын
Thank you for that great lesson!!! I tried the code and it worked. Before your tutorial I tried to learn the CSS 3D flip card effect with Treehouse. Their lessons were completely useless. I couldn't understand anything. Your lesson was top notch! Once again thank you!!!!!
@bambubombon
@bambubombon 4 жыл бұрын
This is my wish for an instructive css tutorial come true!! thank you!!
@gonzalochristobal
@gonzalochristobal 6 жыл бұрын
Great video! Also you can add the perspective property to make it look even more real, if someone likes: .maincontainer: { perspective: 1000px ... rest of the code ...} As the name of the property says, it gives perspective to the element
@ArjunKhara
@ArjunKhara 6 жыл бұрын
Gonzalo Rodriguez - excellent suggestion. I’ll mention this comment in the next related video. Thanks mate :)
@mahdibouchenaf7215
@mahdibouchenaf7215 5 жыл бұрын
thanks
@taospencer1403
@taospencer1403 5 жыл бұрын
perspective or perspective origin? or both
@arthurvinicius7981
@arthurvinicius7981 4 жыл бұрын
Thank you so much, your explanation about the css flip card was perfect!
@DrHappybone
@DrHappybone 3 жыл бұрын
Just subbed because your explanation was so on point! Thanks for not wasting time with fluff and explaining everything with great examples :)
@ArjunKhara
@ArjunKhara 3 жыл бұрын
Thank you for your kind words. Made my day! Glad you liked the tutorial :)
@adil_mansoori
@adil_mansoori 4 жыл бұрын
Were were you the whole time you are explaining beautifully hope i should found you earlier Keep uploading such amazing content
@willyish
@willyish 6 ай бұрын
Very very impressive. minimum css used. Its so useful.
@jaydenmoon1165
@jaydenmoon1165 3 жыл бұрын
I know this is an older video - but thank you - this was a wonderful explanation
@Google.clouds
@Google.clouds 5 ай бұрын
Too much information in 6 mins .. clear and too the point....✨
@almerinobuce7878
@almerinobuce7878 2 жыл бұрын
Great Tutorial, it helped so much...
@WildlifeExplorer05
@WildlifeExplorer05 Жыл бұрын
U help me alot i am worried since last few days also watch some other video also but your code is like small and powerfull thank you so so much sir
@GG-zj7oi
@GG-zj7oi 3 жыл бұрын
Best card flip video I've ever seen!
@ArjunKhara
@ArjunKhara 3 жыл бұрын
Thank you for your very kind comment. Made my day :)
@GG-zj7oi
@GG-zj7oi 3 жыл бұрын
And this video saved my day ;)
@Coder-Journey
@Coder-Journey 2 жыл бұрын
You're the best, thank you !
@ArjunKhara
@ArjunKhara 2 жыл бұрын
Thanks very much! :)
@PRINCEDAKSHWEB_WIZARD
@PRINCEDAKSHWEB_WIZARD 6 ай бұрын
Thank you sir for explaining this is very easy way..❤❤❤❤
@abouyousuf00
@abouyousuf00 Жыл бұрын
Very clear and straightforward regards
@aleksajovanovic5142
@aleksajovanovic5142 4 жыл бұрын
Everything explained, understable. Great video!
@janetracy8732
@janetracy8732 5 жыл бұрын
Finally you made me understand this flip card effect.... Thanks ☺
@ArjunKhara
@ArjunKhara 5 жыл бұрын
No worries, glad it helped :)
@aaijalni
@aaijalni 6 жыл бұрын
this is what I need... thanks for your clear and concise explanation :)
@GANGSTASOUND
@GANGSTASOUND 3 жыл бұрын
Thanks for the video. Great help.
@abhishekde1792
@abhishekde1792 5 жыл бұрын
It is working.....very good explanation & coding.
@saikun0293
@saikun0293 Жыл бұрын
perfect explanation, an informative video. Thank you for explaining everything step by step
@cypreanadie7424
@cypreanadie7424 4 жыл бұрын
This was was professionally simplified for me... Much thanks
@ArjunKhara
@ArjunKhara 4 жыл бұрын
You're very welcome :)
@andromedaanne9251
@andromedaanne9251 5 жыл бұрын
wow! great explanation! you also explained the 'why's' keep it up !
@janetdsouza3526
@janetdsouza3526 5 жыл бұрын
You are a amazing tutor. Please do upload more videos like these. Janet, Singapore
@satchito
@satchito 5 жыл бұрын
Oh man! This is amazingly simple! Thank you so much
@ArjunKhara
@ArjunKhara 5 жыл бұрын
No worries, glad you found it useful :)
@ArjunKhara
@ArjunKhara 6 жыл бұрын
If you would like to achieve the same flip effect using a click or tap, you can use simple Javascript. Here is the same code snippet for the full tutorial, with the Javascript code appended at the end of this code snippet. Enjoy! CSS Card Flip body{ background: #3C5377; } /* THE MAINCONTAINER HOLDS EVERYTHING */ .maincontainer{ position: absolute; width: 250px; height: 320px; background: none; top: 50%; left: 50%; transform: translate(-50%, -50%); } /* THE CARD HOLDS THE FRONT AND BACK FACES */ #thecard{ position: relative; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; transform-style: preserve-3d; transition: all 0.8s ease; } /* THIS USED TO BE THE PSUEDO CLASS CONTROLS THAT FLIP ON MOUSEOVER AND MOUSEOUT IN CSS */ /* BUT NOW THIS CLASS IS BEING CALLED IN JAVASCRIPT WHEN THE CARD IS CLICKED */ .flipper{ transform: rotateY(180deg); } /* THE FRONT FACE OF THE CARD, WHICH SHOWS BY DEFAULT */ .thefront{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; backface-visibility: hidden; overflow: hidden; background: #ffc728; color: #000; } /* THE BACK FACE OF THE CARD, WHICH SHOWS ON MOUSEOVER */ .theback{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; backface-visibility: hidden; overflow: hidden; background: #fafafa; color: #333; text-align: center; transform: rotateY(180deg); } /*This block (starts here) is merely styling for the flip card, and is NOT an essential part of the flip code */ .thefront h1, .theback h1{ font-family: 'zilla slab', sans-serif; padding: 30px; font-weight: bold; font-size: 24px; text-align: center; } .thefront p, .theback p{ font-family: 'zilla slab', sans-serif; padding: 30px; font-weight: normal; font-size: 12px; text-align: center; } /*This block (ends here) is merely styling for the flip card, and is NOT an essential part of the flip code */ Front of CardThis is the front of the card. It contains important information. Please see overleaf for more details. Back of CardYour use of this site is subject to the terms and conditions governing this and all transactions. Submit function myFlipFunction() { var myElement = document.getElementById("thecard"); myElement.classList.toggle("flipper"); }
@carinwood1206
@carinwood1206 2 жыл бұрын
Thank you! Really good tutorial. Easy to follow and good explanation!
@justinegoroszenko3506
@justinegoroszenko3506 4 жыл бұрын
An amazing lesson, thank you! you have a new subscriber.
@le9292
@le9292 3 жыл бұрын
amazing explanation. 👏👏
@ArjunKhara
@ArjunKhara 3 жыл бұрын
Thanks :)
@karincentenaro356
@karincentenaro356 2 жыл бұрын
Thanks, your code really works , now i will do by myself, creating contents for English clases as a seconde Language, and other games,
@ArjunKhara
@ArjunKhara 2 жыл бұрын
No worries, glad you found it useful. Please let me know if you have any further questions :) Cheers!
@karincentenaro356
@karincentenaro356 2 жыл бұрын
@@ArjunKhara oh, thanks, yes, i have another question,..I'd like to create about 5 or more cards in one page, what i must do?
@ArjunKhara
@ArjunKhara 2 жыл бұрын
@@karincentenaro356 That would be similar to the demo in the video. An easy way would be to create a div with either flex or grid as the display; this div would be a container. Then, within this container div create five internal divs, one to hold each of the cards. Finally, in each of these five internal divs simply copy-paste the entire flip card code. Give it a shot a see how it goes. Cheers!
@wenchinyu3759
@wenchinyu3759 3 жыл бұрын
Thank you! Your tutorial is really clear and helpful!
@soumyaranjanpradhan1325
@soumyaranjanpradhan1325 4 жыл бұрын
Sir, nice explanation with amazing tutorial !!
@carolinerozali8030
@carolinerozali8030 6 жыл бұрын
This was lovely and thoroughly explained. :)
@mahbuburrahman9326
@mahbuburrahman9326 5 жыл бұрын
Couldn't stop me liking this video ❤
@ArjunKhara
@ArjunKhara 5 жыл бұрын
haha cheers :)
@mahbuburrahman9326
@mahbuburrahman9326 5 жыл бұрын
@@ArjunKhara ❤
@firstbloodfangy6933
@firstbloodfangy6933 9 ай бұрын
Great tutorial Arjun, thank you for sharing!
@yeowzh
@yeowzh 4 жыл бұрын
Good job man, keep up the clear explanations!
@jawadshah8043
@jawadshah8043 3 жыл бұрын
Excellent way of explaination. Love from Pakistan : )
@kuyaaibangaming9841
@kuyaaibangaming9841 4 жыл бұрын
I was just searching for a ready made flash card and went to this haha
@prempp6043
@prempp6043 6 жыл бұрын
good ! the best ive found in youtube
@ScofieldSykes
@ScofieldSykes 4 жыл бұрын
Great tutorial, you're awesome!
@gokilamadhu6355
@gokilamadhu6355 4 жыл бұрын
Really well explained, thanks so much 😊😊😊😊
@williammichael5554
@williammichael5554 Жыл бұрын
It was simple and easy tutorial thank u for making such a fun to learn video.
@codeeasy7673
@codeeasy7673 5 жыл бұрын
Just Awesome. this video help me to solve my problem. thanks for this one.
@Slimboyfat1979
@Slimboyfat1979 11 ай бұрын
WOw I love your style
@ekbalzayan4722
@ekbalzayan4722 6 жыл бұрын
Thank you for that great lesson
@liamtanis4163
@liamtanis4163 6 жыл бұрын
This was amazing! Thank you very much man! :)
@moonsdonut5188
@moonsdonut5188 5 жыл бұрын
man i was stuck on this thanks you helped
@alwynmiranda3425
@alwynmiranda3425 3 жыл бұрын
Perfect. This is what i wanted :) Thank you soo much
@BalpreetDhillon
@BalpreetDhillon Жыл бұрын
very good simple explanation!
@venkatnaidu4nimmala
@venkatnaidu4nimmala 3 жыл бұрын
you have a style , great video
@balakrishnanyukesh1646
@balakrishnanyukesh1646 4 жыл бұрын
Thank you Sir.Amazing Work💯.Im learning a lot from you🙏
@harshithvellala2589
@harshithvellala2589 3 жыл бұрын
This is amazing and can get that card at center..
@kishanpati336
@kishanpati336 6 жыл бұрын
Briliant tutorial and well explained :)
@paff8360
@paff8360 2 жыл бұрын
thankyou for this tutorial, it's save my day ~~
@rinaldsdomanovs7737
@rinaldsdomanovs7737 5 жыл бұрын
Thanks for great explanation!!
@streetcomando650
@streetcomando650 2 жыл бұрын
Thank you great tutorial
@evaninadgn
@evaninadgn 4 ай бұрын
Great video thanks!
@ai-bino
@ai-bino 5 жыл бұрын
Absolutely incredible stuff... Can't thank you enough for this amazingly well-done tutorial! By the way, what music did you use?
@ArjunKhara
@ArjunKhara 5 жыл бұрын
Thanks for your kind words :) glad it helped. The music is from KZfaq's creator library. Track 1 is Pas De Deux, and Track 2 is End of Summer.
@ai-bino
@ai-bino 5 жыл бұрын
@@ArjunKhara Wow that was quick; thank you again señor!
@rscrj
@rscrj 6 жыл бұрын
Very good this explanation. Best Regards
@juliussorio868
@juliussorio868 6 жыл бұрын
keep up the good work dude.
@A7ka7
@A7ka7 6 жыл бұрын
thanks for this tuto i suscribed!
@Adil-kk7oz
@Adil-kk7oz 5 жыл бұрын
Enjoyed it!
@destradar1
@destradar1 6 ай бұрын
Thanks friend. Interesting!
@phodaOG
@phodaOG 4 жыл бұрын
I dont know if it is explained in coments BUT if you hover over you get flickering, problem is the card is flipping so it breaks hover state, to fix you must fix hover state so its like this: from: thecard:hover {transform: rotateY(180deg);} to: .maincontainer:hover > thecard{transform: rotateY(180deg);}
@ArjunKhara
@ArjunKhara 4 жыл бұрын
Cheers Ivan, that's a great fix. Thanks for the solution :)
@mirjana72003
@mirjana72003 6 жыл бұрын
Great explenation, thank you so much!
@waqasrana5734
@waqasrana5734 5 жыл бұрын
Thank you so much
@mohammedelhoussni
@mohammedelhoussni 2 жыл бұрын
Thank you soo much is very helpful and good explained 🥰🥰
@ArjunKhara
@ArjunKhara 2 жыл бұрын
Thanks very much! Glad you found it useful :)
@ammnvx8799
@ammnvx8799 3 жыл бұрын
WOW HAT OFF you explain so nicely thank you so much
@preksha888
@preksha888 4 жыл бұрын
Very useful, thank you very much, Sir!
@filmyfreak5413
@filmyfreak5413 4 жыл бұрын
Awesome explanation....
@ramjisharma7256
@ramjisharma7256 5 жыл бұрын
Thanks bro
@PanCakeMixer101
@PanCakeMixer101 5 жыл бұрын
best tutorial
@ganeshsolankar9088
@ganeshsolankar9088 5 жыл бұрын
Nice tutorial
@asachemicals2983
@asachemicals2983 3 жыл бұрын
I found many ways to but this is crazy
@sophiabairou
@sophiabairou 3 жыл бұрын
Thank you for the great tutorial! How could i achieve the flip effect not by hovering on the card but by clicking on it?
@ArjunKhara
@ArjunKhara 3 жыл бұрын
Hi Sophia, here's how the complete code for flipping on click. It requires a bit of Javascript. CSS Card Flip body{ background: #3C5377; } /* THE MAINCONTAINER HOLDS EVERYTHING */ .maincontainer{ position: absolute; width: 250px; height: 320px; background: none; top: 50%; left: 50%; transform: translate(-50%, -50%); } /* THE CARD HOLDS THE FRONT AND BACK FACES */ #thecard{ position: relative; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; transform-style: preserve-3d; transition: all 0.8s ease; } /* THIS USED TO BE THE PSUEDO CLASS CONTROLS THAT FLIP ON MOUSEOVER AND MOUSEOUT IN CSS */ /* BUT NOW THIS CLASS IS BEING CALLED IN JAVASCRIPT WHEN THE CARD IS CLICKED */ .flipper{ transform: rotateY(180deg); } /* THE FRONT FACE OF THE CARD, WHICH SHOWS BY DEFAULT */ .thefront{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; backface-visibility: hidden; overflow: hidden; background: #ffc728; color: #000; } /* THE BACK FACE OF THE CARD, WHICH SHOWS ON MOUSEOVER */ .theback{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; backface-visibility: hidden; overflow: hidden; background: #fafafa; color: #333; text-align: center; transform: rotateY(180deg); } /*This block (starts here) is merely styling for the flip card, and is NOT an essential part of the flip code */ .thefront h1, .theback h1{ font-family: 'zilla slab', sans-serif; padding: 30px; font-weight: bold; font-size: 24px; text-align: center; } .thefront p, .theback p{ font-family: 'zilla slab', sans-serif; padding: 30px; font-weight: normal; font-size: 12px; text-align: center; } /*This block (ends here) is merely styling for the flip card, and is NOT an essential part of the flip code */ Front of CardThis is the front of the card. It contains important information. Please see overleaf for more details. Back of CardYour use of this site is subject to the terms and conditions governing this and all transactions. Submit function myFlipFunction() { var myElement = document.getElementById("thecard"); myElement.classList.toggle("flipper"); }
Tarjetas Giratorias (flip card) | HTML y CSS
12:00
AutoDidactDev
Рет қаралды 71 М.
Easy Flipcard Tutorial | HTML & CSS
11:20
Coding With Russ
Рет қаралды 65 М.
Кадр сыртындағы қызықтар | Келінжан
00:16
娜美这是在浪费食物 #路飞#海贼王
00:20
路飞与唐舞桐
Рет қаралды 6 МЛН
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Cool Tool SHORTS Netherlands
Рет қаралды 9 МЛН
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН
Crazy 3D Rotation Effect Using CSS Only
7:40
Lun Dev
Рет қаралды 103 М.
Flipping Card Animation Using HTML and CSS
9:16
Ryan Web Tech
Рет қаралды 23 М.
Flip Card in CSS (Like Apple)
5:45
Taha Shashtari
Рет қаралды 6 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 945 М.
Award Winning Animation With Only 20 Lines Of CSS?
6:59
Hyperplexed
Рет қаралды 1,7 МЛН
Learn CSS Border Animations in 6 Minutes
5:57
Coding2GO
Рет қаралды 93 М.
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,7 МЛН
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Рет қаралды 1,5 МЛН
Pure CSS: Hover Card Effect
5:06
Arjun Khara
Рет қаралды 6 М.
The Easiest Way to Build Websites
10:56
Sajid
Рет қаралды 447 М.
Кадр сыртындағы қызықтар | Келінжан
00:16