forked from tmsteck/tmsteck.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles_invite.css
49 lines (44 loc) · 968 Bytes
/
styles_invite.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
body {
margin: 0;
padding: 0;
overflow: hidden;
}
.bouncing-text-container {
background-color: #333;
color: #fff;
font-size: 24px;
padding: 10px 0;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1;
overflow: hidden;
animation: bounceText 40s linear infinite; /* Adjust the duration as needed */
}
.bouncing-text {
white-space: nowrap;
animation: scrollText 10000s ease-out infinite alternate; /* Adjust the duration as needed */
}
@keyframes bounceText {
0%, 100% {
transform: translateY(500px);
}
50% {
transform: translateY(0px); /* Adjust the bounce height as needed */
}
}
@keyframes scrollText {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-10000%);
}
}
p {
margin: 0;
padding: 0;
display: inline-block;
margin-right: 20px; /* Adjust this value to control the speed of scrolling */
}