-
Notifications
You must be signed in to change notification settings - Fork 4
/
link.html
84 lines (83 loc) · 2.08 KB
/
link.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
<!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>animation</title>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container{
background-color: aliceblue;
height: 100vh;
display: flex;
justify-content: center;
/* align-items: center; */
}
.box{
display: flex;
width: 500px;
text-align: center;
height: 200px;
/* margin:auto; */
position:relative;
background-color: green;
border-radius: 3px;
font-size: small;
justify-content: center;
align-items: center;
animation-name: shiv;
animation-duration: 3s;
animation-iteration-count: infinite;
}
@keyframes shiv {
0%{
width: 50px;
top:0px;
left:0px;
font-size: 50%;
}
25%{
width: 500px;
top:0px;
left:250px;
font-size: 70%;
}
50%{
width: 50px;
top:250px;
left:250px;
font-size: 100%;
}
75%{
width:500px;
top:250px;
left: 0px;
font-size: 70%;
}
100%{
width: 50px;
top:0px;
left:0px;
font-size: 50%;
}
}
a{
text-decoration: none;
}
</style>
</head>
<body>
<div class="container">
<a href="./index.html">
<div class="box">
<p>DEVS 404</p>
</div>
</a>
</div>
</body>
</html>