-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloader6.css
More file actions
59 lines (58 loc) · 1.33 KB
/
loader6.css
File metadata and controls
59 lines (58 loc) · 1.33 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
/*----------------------------- Loader 6 (Cube) -----------------------------*/
.loader6{
background-color: black;
height: 100%;
width: 100%;
opacity: 0.8;
top: 0;
left: 0;
position: fixed;
display: none;
justify-content: center;
align-items: center;
perspective: 500px;
}
.loader6Inside{
width: 80px;
height: 80px;
position: relative;
transform-style: preserve-3d;
animation-name: loaderSixRotate;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
.loader6Inside .cube-face{
position: absolute;
width: 80px;
height: 80px;
border: 2px solid white;
background-color: rgba(255, 255, 255, 0.1);
}
.loader6Inside .cube-front{
transform: translateZ(40px);
}
.loader6Inside .cube-back{
transform: translateZ(-40px) rotateY(180deg);
}
.loader6Inside .cube-right{
transform: translateX(40px) rotateY(90deg);
}
.loader6Inside .cube-left{
transform: translateX(-40px) rotateY(-90deg);
}
.loader6Inside .cube-top{
transform: translateY(-40px) rotateX(90deg);
}
.loader6Inside .cube-bottom{
transform: translateY(40px) rotateX(-90deg);
}
@keyframes loaderSixRotate {
0% {
transform: rotateX(0deg) rotateY(0deg);
}
100% {
transform: rotateX(360deg) rotateY(360deg);
}
}
/*--------------------------------- Loader 6 Ends --------------------------*/