-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
99 lines (80 loc) · 1.61 KB
/
style.css
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
*{
margin: 0;
padding: 0;
}
body {
background-color: #041982!important;
}
.headingImg{
max-width:100%;
/* max-height:400px */
}
.card{
border: none;
}
/* .flip-card-front> img{
/* max-height: 250px; */
/* } */
.card-title{
text-align: center;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: medium;
}
.img-responsive{
align-self: center;
}
/* */
.flip-card {
background-color: transparent;
width: 300px;
height: 300px;
perspective: 1000px;
border-radius: 10px;
overflow: hidden;
}
.flip-card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.6s;
transform-style: preserve-3d;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
cursor: pointer;
}
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.flip-card-front {
background-color: #bbb;
color: black;
}
.flip-card-back {
background-color: #2980b9;
color: white;
transform: rotateY(180deg);
display: flex;
flex-direction: column;
justify-content: space-between;
}
.list-group{
margin:10px !important;
bottom: 0 !important;
font-size: medium;
font-family: Arial, Helvetica, sans-serif;
}
.flip-card-back{
justify-content: space-between;
}
@media only screen and (max-width: 600px) {
.flip-card{
margin-bottom: 20px;
}
}