File size: 777 Bytes
01fdb75 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | .d-flex {
display: flex;
}
.justify-content-center {
justify-content: center;
}
.flip-card-container {
margin: 0 5px;
}
.flip-card {
perspective: 1000px;
}
.flip-card-inner {
position: relative;
width: 1000px;
height: 215px;
text-align: center;
transition: transform 1.5s;
transform-style: preserve-3d;
}
.out{
opacity: 0;
transition: opacity 1s;
}
.in{
opacity: 1;
transition: opacity 1s;
}
/* .flipped .flip-card-inner {
opacity: 0;
} */
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
}
.flip-card-front {
color: black;
z-index: 2;
}
.flip-card-back {
/* transform: rotateY(180deg); */
z-index: 1;
} |