-
Notifications
You must be signed in to change notification settings - Fork 2
/
fancy.html
57 lines (54 loc) · 1.65 KB
/
fancy.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.container{background-color: aqua; padding:30px; animation: move 8s linear infinite;}
.content {padding: 40px; background-color:red;animation: move 8s linear infinite;}
.Dog {animation: move 8s linear infinite;}
@keyframes move{
100%{
transform: translate(0);
}
100%{
transform:translate(500px);
}
}
</style>
</style>
<link rel="stylesheet" href="fancy.css">
<title>Animation</title>
</head>
<body>
<h1>Input</h1>
<div class="Form"><input type="text" name="Name" autocomplete="off" role="list"></div>
<label for="name" class="label-name">
<span class="content-name">Name</span>
</label>
<div class="container">Please help me!</div>
<div class="content">Adoption or euthanasia</div>
<div class="Dog">
<img src="imgdog.png" alt="Image of dog">
</div>
<div class="containe">
<header>
<nav>
<ul>
<li>
Where do I come from
</li>
<li>
My breed
</li>
<li>
My pesonality
</li>
</ul>
</nav>
</header>
<button class="Home" role="button" aria-checked="true">Home</button>
<button class="About" role="button" aria-checked="true">About</button>
<button class="Contact" role="button" aria-checked="true">Contact</button>
</body>
</html>