card animation css

Solutions on MaxInterview for card animation css by the best coders in the world

showing results for - "card animation css"
Juan Martín
15 Mar 2020
1<!DOCTYPE html>
2<html>
3<head>
4<meta name="viewport" content="width=device-width, initial-scale=1">
5<style>
6body {
7  font-family: Arial, Helvetica, sans-serif;
8}
9
10.flip-card {
11  background-color: transparent;
12  width: 300px;
13  height: 300px;
14  perspective: 1000px;
15}
16
17.flip-card-inner {
18  position: relative;
19  width: 100%;
20  height: 100%;
21  text-align: center;
22  transition: transform 0.6s;
23  transform-style: preserve-3d;
24  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
25}
26
27.flip-card:hover .flip-card-inner {
28  transform: rotateY(180deg);
29}
30
31.flip-card-front, .flip-card-back {
32  position: absolute;
33  width: 100%;
34  height: 100%;
35  -webkit-backface-visibility: hidden;
36  backface-visibility: hidden;
37}
38
39.flip-card-front {
40  background-color: #bbb;
41  color: black;
42}
43
44.flip-card-back {
45  background-color: #2980b9;
46  color: white;
47  transform: rotateY(180deg);
48}
49</style>
50</head>
51<body>
52
53<h1>Card Flip with Text</h1>
54<h3>Hover over the image below:</h3>
55
56<div class="flip-card">
57  <div class="flip-card-inner">
58    <div class="flip-card-front">
59      <img src="img_avatar.png" alt="Avatar" style="width:300px;height:300px;">
60    </div>
61    <div class="flip-card-back">
62      <h1>John Doe</h1> 
63      <p>Architect & Engineer</p> 
64      <p>We love that guy</p>
65    </div>
66  </div>
67</div>
68
69</body>
70</html>
71
queries leading to this page
animation css cardhow to add animated card in html pagecards with animations html csscard by card animation csshow to create card effect csshow to create cards with animation in csscard with animationcards annimations csscss3 card box animation effectsadd card animation html and csscard effect cssanimated cards css3css card animationcard appear animations in cssimage card animation csscards animations cssdifferent card animationanimated cards csscard entrance animation cssanimation cardadd animation to card htmlcard css animation appearcards animation with csscss card animatedcard animation with cssanimation for card csscards animationcss 3d card animationhtml cards in sequence animation how to add animation card in html pagebring up card animation csshtml css card animationsimple card animation cssanimated card html csshow to animate card in cssanimated card images html cssanimation cards html csscard animation css 3dcss and javascript card animationscss card with animationhtml css animate card html css animation open cardcss animation cardcss card reveal animationanimation cards in html and csscard animation html csssimple card animations with css animationscss playing card animationanimated css cardscss animation cardsfree css animations cardscard animations css htmlcard animationhow to make animated cards csshtml animation on cardcss card animationscss card effects animationcards animation with html and csscards animation csscard animations cssanimation card return csscss card effect card effect in csscards deal animation cssanimated html css cardcard css animationhtml animations cardhow to add simple animation to cards in csssimple css cards animatedbest css card animationscard animation on hover csscss playing cards animatedinfo card css animationcard animation in csscss animated cardsanimated card design csscard animations with cssfront card and back card css animation over hovercard animation csshow to make cards animate cssanimation cards cssbest card animation cssanimation on cardshow to add card animation csshow to do an card style animationcss cards animationanimation for cardanimation card jscard animation javascripthtml card animationanimation on cardasanimation card csscard animation on hovercard animations csscard animation css