forked from ritwikranjan/resource-library-web
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathanime style.css
More file actions
141 lines (134 loc) · 2.38 KB
/
anime style.css
File metadata and controls
141 lines (134 loc) · 2.38 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
133
134
135
136
137
138
139
140
141
.loader_bg{
position: fixed;
z-index: 999999;
width: 100%;
height: 100%;
background: black;
}
#myVideo {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
}
.loader{
border: 0 solid transparent;
border-radius: 50%;
width: 150px;
height: 150px;
position: absolute;
top: calc(50vh - 75px);
left: calc(50vw - 75px);
}
.loader:before , .loader:after{
content: '';
border: 1em solid #ff5733;
border-radius: 50%;
width: inherit;
height: inherit;
position: absolute;
top: 0;
left: 0;
animation: loader 2s linear infinite;
opacity: 0;
}
.loader:before{
animation-delay: 0.5s;
}
@keyframes loader{
0%{
transform: scale(0);
opacity: 0;
}
50%{
opacity: 1;
}
100%{
transform: scale(1);
opacity: 0;
}
}
img {
box-shadow: 0 0 0px #91785d;
}
.css-slideshow {
position: relative;
max-width: 400px;
height: 400px;
margin: 5em auto 0.5em auto;
}
.css-slideshow figure {
margin: 0;
max-width: 400px;
height: 400px;
background: #a07b5100;
position: absolute;
}
.css-slideshow img {
box-shadow: 0 0 0px #a07b5100;
}
.css-slideshow-attr {
max-width: 400px;
text-align: right;
font-size: 0.7em;
font-style: italic;
margin: 0 auto;
}
.css-slideshow-attr a {
color: #a07b5100;
}
.css-slideshow figure {
opacity: 0;
}
figure:nth-child(1) {
animation: xfade 8s 7s infinite;
}
figure:nth-child(2) {
animation: xfade 8s 6s infinite;
}
figure:nth-child(3) {
animation: xfade 8s 5s infinite;
}
figure:nth-child(4) {
animation: xfade 8s 4s infinite;
}
figure:nth-child(5) {
animation: xfade 8s 3s infinite;
}
figure:nth-child(6) {
animation: xfade 8s 2s infinite;
}
figure:nth-child(7) {
animation: xfade 8s 1s infinite;
}
figure:nth-child(8) {
animation: xfade 8s 0s infinite;
}
@keyframes xfade {
0% {
opacity: 0;
}
10.5% {
opacity: 1;
}
12.5% {
opacity: 0;
}
98% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.hover01 img {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transition: .2s ease-in-out;
transition: .2s ease-in-out;
}
.hover01 img:hover {
-webkit-transform: scale(1.2);
transform: scale(1.2);
}