-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
58 lines (58 loc) · 1.29 KB
/
index.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
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
*{
margin: 0px;
padding: 0px;
}
body{
width: 100%;
height: 100vh;
background-image: linear-gradient(75deg,rgb(211, 44, 44),rgb(218, 39, 176));
display: flex;
/* flex-direction: column; */
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
}
h1{
color: white;
text-shadow: 2px 2px 2px black;
}
div{
width: 65vw;
height: 60vh;
background-color: rgba(24, 23, 23, 0.3);
border-radius: 20px;
display: flex;
justify-content: center;
justify-content: space-evenly;
flex-direction: column;
align-items: center;
box-shadow: 5px 5px 5px black;
/* gap: 10%; */
}
#time{
font-size: 8vw;
}
#date{
font-size: 3vw;
}
#week{
font-size: 3vw;
font-family: 'Archivo Black', sans-serif;}
#sec{
font-size: 50vw;
position: absolute;
z-index: -1;
transform: translateY(-82%);
animation: secAnimation 1s infinite;
animation: name duration timing-function delay iteration-count direction fill-mode;
}
@keyframes secAnimation{
from{
transform: translateY(-82%)
}
to{
transform: translateY(0px);
}
}