-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanimation_slide.php
More file actions
51 lines (43 loc) · 1.21 KB
/
animation_slide.php
File metadata and controls
51 lines (43 loc) · 1.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.imgslider {
margin-top: 10px;
width: 102%;
height: 410px;
background-image: url("image/slide5.jpg");
background-size: 100% 100%;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
animation: changeImage 19s ease-in-out infinite;
}
@keyframes changeImage {
0% {
background-image: url("image/clg10.png");
}
20% {
background-image: url("image/slide0.jpg");
}
40% {
background-image: url("image/slide1.jpg");
}
60% {
background-image: url("image/slide2.jpg");
}
80% {
background-image: url("image/slide4.jpg");
}
100% {
background-image: url("image/slide5.jpg");
}
}
</style>
</head>
<body>
<div class="imgslider">
</div>
</body>
</html>