-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
90 lines (81 loc) · 1.39 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
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
@font-face {
font-family: "Nimbus";
src: url("nimbus.woff") format("otf"),
}
body.black {
background-color: black;
}
body.black .text {
color: white;
}
body.white {
background-color: white;
}
body.white .text {
color: black;
}
body{
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-family: 'Harabara Bold', Arial, sans-serif;
transition-property: background-color;
transition-duration: 500ms
}
.text{
font-size: 10em;
font-weight: bold;
}
.img {
opacity: 1;
}
.img.appear{
opacity: 1;
/* transition-property: opacity;
transition-duration: 500ms */
}
.marquee {
width: 100%;
box-sizing: border-box;
margin-top: 100px;
}
.marquee.zoom {
animation-name: zoom;
animation-duration: 100ms
}
.marquee.dezoom {
animation-name: dezoom;
animation-duration: 100ms
}
.marquee img {
display: inline-block;
padding-left: 100%;
animation: marquee 15s linear infinite;
}
@keyframes marquee {
0% {
transform: translate(-100%, 0);
}
100% {
transform: translate(0, 0);
}
}
@keyframes zoom {
0% {
transform: scale(1);
}
100% {
transform: scale(1.1);
}
}
@keyframes dezoom {
0% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}