-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
178 lines (152 loc) · 3.31 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
* {
margin: 0;
box-sizing: border-box;
}
body {
background-color: #4158D0;
background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
}
* {
margin: 0;
box-sizing: border-box;
}
body {
background-color: #4158D0;
background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
}
.my_profile {
height: 100vh;
border: 3px solid black;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.my_card {
display: flex;
flex-direction: column;
align-items: center;
height: 10rem;
width: 24rem;
border: 5px solid gray;
border-radius: 30px;
background: rgba( 255, 255, 255, 0.25 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 4px );
-webkit-backdrop-filter: blur( 4px );
border: 1px solid rgba( 255, 255, 255, 0.18 );
overflow: hidden;
transition-property: height,transform;
transition-duration: 0.8s;
perspective: 1000px;
position: relative;
}
.my_card:hover{
height: 43rem;
}
.my_profile img {
border: 5px solid white;
border-radius: 50%;
width: 150px;
margin: 4vh;
}
.lower {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.name{
font-size: 2rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 10px;
}
.front_end{
font-size: 1.5rem;
color: rgba(118, 49, 230, 0.81);
font-weight: bold;
padding: 5px;
}
.desp {
padding-top: 10px;
font-size: 1rem;
padding: 20px;
}
.view{
font-size: 1rem;
font-weight: bold;
color: white;
margin-top: 10px;
border-radius: 20px;
padding: 10px;
background-color: rgba(224, 190, 224, 0.656);
border: none;
cursor: pointer;
}
.card_front,
.card_back {
width: 24rem;
height: 100%;
position: absolute;
backface-visibility: hidden;
transition: transform 0.6s;
}
.card_front {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 2;
}
.card_back {
border-radius: 30px;
background: rgba( 255, 255, 255, 0.25 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border: 1px solid rgba( 255, 255, 255, 0.18 );
transform: rotateY(180deg);
z-index: 1;
}
.my_card.flipped .card_front {
transform: rotateY(180deg);
}
.my_card.flipped .card_back {
transform: rotateY(0deg);
}
.name {
margin-bottom: 10px;
}
.desp {
text-align: center;
margin-bottom: 20px;
}
.view {
padding: 10px 20px;
background-color: #a600ff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.view:hover {
background-color: #8900b3;
}
a{
text-decoration: none;
color: white;
font-size: 1.2rem;
}
.back{
padding: 10px 20px;
background-color: #a600ff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.back:hover{
background-color: #8900b3;
}