-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path18thclass.5assignment.html
More file actions
74 lines (48 loc) · 946 Bytes
/
Copy path18thclass.5assignment.html
File metadata and controls
74 lines (48 loc) · 946 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<!-- <p>Date:28/December/2022</p>
<p>Day:Wednessday</p>
<p>Class= yes </p> -->
<style>
*{
margin: 0;
padding: 0;
}
.wraper{
height: 100px;
animation: myanimation 3s infinite alternate linear;
border-radius: 60px;
position: absolute;
border: solid black 2px;
}
@keyframes myanimation{
from {
background-color: rgb(153, 50, 50);
width: 100%;
top: 10px;
}
to {
background-color: rgb(247, 118, 14);
width: 100%;
top: 100px;
}
}
#hbs{
padding: 40px;
padding-left: 500px;
font-family: Arial, Helvetica, sans-serif;
color: white;
}
</style>
<div class="wraper">
<h1 id="hbs">My Animation</h1>
</div>
</body>
</html>