-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_fleurs.css
115 lines (98 loc) · 1.71 KB
/
style_fleurs.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
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
html {
padding: 20px 0;
background-image: linear-gradient(0deg,#cc6aa5,#3e91cc,#2dcca7,#3e91cc,#cc6aa5);
background-size: 100% 600%;
animation: bg-pan-top 20s ease 0s infinite normal both;
animation-play-state: initial;
}
body {
width: 40%;
padding: 40px;
margin: 0 auto;
background: #fff;
box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
#video {
width: 100%;
height: auto;
margin: auto;
}
video {
width: 100.2%;
height: auto;
cursor: pointer;
}
/*Spinner load*/
.poster {
width: 38px;
height: 38px;
position: absolute;
top: 200px;
left: 50%;
transform: rotateZ(45deg);
}
.poster .cube {
position: relative;
transform: rotateZ(45deg);
}
.poster .cube {
float: left;
width: 50%;
height: 50%;
position: relative;
transform: scale(1.1);
}
.poster .cube:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgb(43,160,199);
animation: cube 1.08s infinite linear both;
transform-origin: 100% 100%;
}
.poster .c2 {
transform: scale(1.1) rotateZ(90deg);
}
.poster .c3 {
transform: scale(1.1) rotateZ(180deg);
}
.poster .c4 {
transform: scale(1.1) rotateZ(270deg);
}
.poster .c2:before {
animation-delay: 0.135s;
}
.poster .c3:before {
animation-delay: 0.27s;
}
.poster .c4:before {
animation-delay: 0.405s;
}
@keyframes cube {
0%, 10% {
transform: perspective(70px) rotateX(-180deg);
opacity: 0;
}
25%, 75% {
transform: perspective(70px) rotateX(0deg);
opacity: 1;
}
90%, 100% {
transform: perspective(70px) rotateY(180deg);
opacity: 0;
}
}
@keyframes bg-pan-top {
0% {
background-position: 0% 50%;
}
50% {
background-position: 50% 100%;
}
100% {
background-position: 0% 50%;
}
}