forked from CodeExplainedRepo/Weather-App-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathi.html
More file actions
40 lines (36 loc) · 768 Bytes
/
i.html
File metadata and controls
40 lines (36 loc) · 768 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rotating Earth</title>
<style>
body {
margin: 0;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
height: 10vh;
background-color: #000;
}
.earth {
width: 20px;
height: 20px;
border-radius: 50%;
animation: rotateEarth 10s linear infinite;
}
@keyframes rotateEarth {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div class="earth"><img src="earth-1303628_640.png" alt=""></div>
</body>
</html>