-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (74 loc) · 1.55 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
body {
margin: 0;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: linear-gradient(to top, #f7797d, #FBD786, #C6FFDD);
background-size: cover;
background-position: center center;
}
#card {
position: relative;
perspective: 3000px;
}
section {
width: 560px;
height: 400px;
border-radius: 10px;
box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}
#cover {
background-color: #0f2342;
color: #ffffff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
#cover.animate {
transform: rotateX(180deg);
transform-origin: 0% 0%;
transition: transform 2s;
}
#cover.animate>* {
opacity: 0;
transition: opacity 1s;
}
#cover:hover {
transform: rotateX(180deg);
transform-origin: 0% 0%;
transition: transform 2s;
}
#cover img {
height: 50%
}
#cover h1 {
font-size: 32px;
margin: 0px;
}
#cover h2 {
font-size: 18px;
margin: 0px;
}
#message {
background-color: rgba(255, 255, 255, 0.5);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
backdrop-filter: blur(8px);
}
#message h1 {
margin: 0;
text-align: center;
}
#message img {
height: 60%;
}