-
Notifications
You must be signed in to change notification settings - Fork 0
/
last test.html
95 lines (91 loc) · 2.12 KB
/
last test.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>test10</title>
<style>
*{
padding: 0;
margin: 0;
}
header{
height: 100px;
background-color: black;
}
main{
background-color: blueviolet ;
height: 1000px;
animation: rotate;
}
#progres{
background-color: red;
height: 10px;
animation: load 2s ease-in-out ;
}
@keyframes load {
0%{
width: 0;
}
50%{
width: 50vw;
}
60%{
width: 60vw;
}
}
@keyframes rotate {
0%{
transform: rotate(0deg);
}
50%{
transform: rotate(50deg);
}
60%{
transform: rotate(320deg);
}
}
@keyframes slide {
}
/* img{
animation: rotate 1s ease-in infinite;
}
*/
#slider{
background-color: rgb(255, 255, 255);
height: 500px;
overflow: hidden;
margin: auto;
display: flex;
justify-content: center;
}
.img1{
height: 1000px;
display: block;
margin: auto;
transform: translate(-18vw);
animation: slide1 1s forwards;
}
.img2{
transform: translate(0vw);
}
.img3{
transform: translate(18vw);
}
</style>
</head>
<body>
<div id="progres"></div>
<header>
</header>
<main>
<!-- <img src="images/ggs.jpg"> -->
<div id="slider">
<img class="img1" src="images/ggs.jpg">
<img class="img2" src="images/ggs.jpg">
<img class="img3" src="images/ggs.jpg">
</div>
</main>
</body>
</html>