-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpr.css
More file actions
132 lines (104 loc) · 2.56 KB
/
pr.css
File metadata and controls
132 lines (104 loc) · 2.56 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/* .bg{
background-color: #EAC41C;
}
.button_name{
font-size: 10vw;
font-family: 'Poppins', sans-serif;
border: 10px solid black;
border-radius: 10em;
background-color: transparent;
padding: 25px;
font-weight: 900;
text-transform: uppercase;
-webkit-text-stroke: 5px #111;
color: transparent;
} */
/* ========= */
body{
/* background-size: cover; */
/* background-color: black */
/* background: url(art3.png); */
}
section{
position: relative;
width: auto;
height: 100vh;
overflow: hidden;
}
section .scroll{
width: auto;
display: flex;
}
section .scroll div{
color: black;
font-size: 8em;
/* background-color: #fff; */
font-family: 'Helvetica Neue LT W05_45 Light', Helvetica, Arial, sans-serif;
/* this will continue the line */
white-space: nowrap;
font-weight: 900;
text-transform: uppercase;
animation: animate 40s linear infinite;
animation-delay: -40s;
}
section .scroll div span{
-webkit-text-stroke: 2px #111;
color: transparent;
}
@keyframes animate {
0%{
transform: translateX(100%);
}
100%{
transform: translateX(-100%);
}
}
@keyframes animate1 {
0%{
transform: translateX(0%);
}
100%{
transform: translateX(-200%);
}
}
section .scroll div:nth-child(2){
animation: animate1 40s linear infinite;
animation-delay: -20s ;
}
section .scroll.text1{
transform: rotate(70deg) translateY(0px) translateX(-200px);
}
section .scroll.text2{
transform: rotate(35deg) translateY(100px) translateX(-200px);
}
section .scroll.text3{
transform: rotate(25deg) translateY(220px) translateX(-200px);
}
section .scroll.text4{
transform: rotate(-40deg) translateY(-10px) translateX(-400px);
}
@media only screen and (max-width: 400px) {
section .scroll div{
color: black;
font-size: 4em;
/* background-color: #fff; */
/* this will continue the line */
white-space: nowrap;
font-weight: 900;
text-transform: uppercase;
animation: animate 40s linear infinite;
animation-delay: -40s;
}
section .scroll.text1{
transform: rotate(70deg) translateY(0px) translateX(-200px);
}
section .scroll.text2{
transform: rotate(30deg) translateY(100px) translateX(-200px);
}
section .scroll.text3{
transform: rotate(55deg) translateY(220px) translateX(-200px);
}
section .scroll.text4{
transform: rotate(-20deg) translateY(-10px) translateX(-200px);
}
}