forked from EngineTribe/nmweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackground.css
More file actions
41 lines (37 loc) · 738 Bytes
/
background.css
File metadata and controls
41 lines (37 loc) · 738 Bytes
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
html,body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
.sliding-background-root {
overflow: inherit;
width: 100%;
height: inherit;
margin: 0;
padding: 0;
position: absolute;
top: 0;
left: 0;
z-index: -100;
}
.sliding-background {
height: inherit;
width: calc(100vh * 5.3328);
background: url("/assets/images/bg/super_experto.png") repeat-x;
background-size: contain;
animation: slide 18s linear infinite;
z-index: -100;
}
@keyframes slide {
0% {
transform: translate3d(0, 0, 0);
}
100% {
transform: translate3d(calc(100vh * -1.7776), 0, 0);
}
}
.sliding-background-root > div {
z-index: 0;
}