-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (74 loc) · 1.33 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
#app {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
min-height: 100vh;
animation: colorChanger 5s linear 2s infinite alternate;
}
@keyframes colorChanger {
from {
background-color: white;
}
to {
background-color: rgb(235, 233, 226);
}
}
.container {
width: 500px;
height: 500px;
background-color: rgb(235, 233, 226);
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0% {
box-shadow: 0 10px 20px 0px rgba(0, 0, 0, 0.6);
transform: translatey(3px);
}
50% {
box-shadow: 0 25px 20px 0px rgba(0, 0, 0, 0.2);
transform: translatey(-30px);
}
100% {
box-shadow: 0 10px 20px 0px rgba(0, 0, 0, 0.6);
transform: translatey(3px);
}
}
img {
margin-top: 80px;
border-radius: 20%;
border: 2px black solid;
}
h1,
h3 {
font-family: sans-serif;
word-spacing: normal;
margin-bottom: 10px;
margin-top: 2px;
align-items: center;
}
button {
width: 150px;
height: 60px;
border-radius: 20px;
font-weight: 900;
}
.female {
border-color: palevioletred;
color: rgb(247, 130, 149);
}
.male {
border-color: blue;
color: rgb(107, 107, 252);
}
@media screen and (max-width: 600px) {
.container {
flex-direction: column;
width: 300px;
height: 500px;
}
.email {
flex-direction: column;
font-size: 15px;
}
}