-
Notifications
You must be signed in to change notification settings - Fork 0
/
Simple Webpage with Animation.html
56 lines (49 loc) · 1.21 KB
/
Simple Webpage with Animation.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
<!DOCTYPE html>
<html>
<head>
<title>Animated Webpage</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
.container {
text-align: center;
padding: 100px 0;
}
.animated-element {
width: 100px;
height: 100px;
background-color: #3498db;
border-radius: 50%;
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-200px);
}
}
.footer {
text-align: center;
background-color: #333;
color: #fff;
padding: 20px 0;
}
</style>
</head>
<body>
<div class="container">
<div class="animated-element"></div>
<h1>Animated Webpage</h1>
<p>This is a simple webpage with a CSS animation.</p>
</div>
<div class="footer">
<p>© 2023 AnimatedWebpage24.com. All rights reserved.</p>
</div>
</body>
</html>