-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
82 lines (67 loc) · 1.29 KB
/
styles.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
body{
overflow-y:auto;
}
.container{
position: relative;
overflow:hidden;
display:grid;
grid-template-columns: repeat( auto-fill, minmax(250px, 1fr) );
gap: 20px;
}
/* .backSide{
display:none;
} */
.first{
line-height:20px;
text-align:left;
}
.second{
line-height:20px;
text-align:left;
overflow-x: hidden;
text-align:left;
width: 100%;
}
.mainBox .flagStyle{
padding: 0px;margin: 0;
box-shadow: 2px 2px 10px grey;
width: 250px;
height: 250px;
}
.mainBox{
position: relative;
perspective: 1200px;
}
.flagStyle{
position: relative;
transition: transform 1s ease;
z-index: 10;
background-color:white;
backface-visibility:hidden;
}
.flagStyle:hover{
cursor: pointer;
transform: rotateY(90deg);
left: 0;
}
.card{
transform-origin:center left;
}
.backSide{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
z-index: 1;
width: auto;
height: auto;
background-color:rgba(56, 188, 221, 0.644);
padding:10px;
border-radius: 15px;
font-size: 1rem;
}
.third >span , .four>span{
font-size:20px;
font-weight:normal;
line-height:30px;
}