-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
51 lines (47 loc) · 1.14 KB
/
styles.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
.text-container {
position: absolute;
top: 57%; /* Adjust the top value to move the text higher or lower */
left: 45%;
transform: translate(-50%, -50%);
text-align: center;
color: #fff;
font-size: 36px;
height: 55vh;
width: 55vw;
display: flex;
justify-content: center;
align-items: center;
}
.text-container {
height: 55vh;
width: 55vw;
display: flex;
justify-content: center;
align-items: center;
}
.text-container h1{
margin: 0;
font-size: 150px;
color: rgba(225,225,225, .01);
background-image: url("https://i.ibb.co/5WL2jhB/th.jpg");
background-repeat: repeat;
-webkit-background-clip:text;
animation: animate 15s ease-in-out infinite;
text-align: center;
text-transform: uppercase;
font-weight: 900;
}
@keyframes animate {
0%, 100% {
background-position: left top;
}
25%{
background-position: right bottom;
}
50% {
background-position: left bottom;
}
75% {
background-position: right top;
}
}