-
Notifications
You must be signed in to change notification settings - Fork 7
/
style_new.css
49 lines (42 loc) · 944 Bytes
/
style_new.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
body {
/* background: black; */
margin: 0;
padding: 0;
}
.content {
background-image: url(./bg.png);
height: 100vh;
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
font-size: 20vh;
font-weight: bold;
color: white;
font-family: 'Poppins', sans-serif;
}
.content span {
text-align: center;
animation-name: floating;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
}
@keyframes floating {
0% {
transform: translate(0, 0px);
}
50% {
transform: translate(0, 15px);
}
100% {
transform: translate(0, -0px);
}
}
@media only screen and (max-width: 768px) {
.content {
font-size: 8vh;
}
}