-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (68 loc) · 1.29 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>happy vacation</title>
<style>
body{
background-color: #D7FFF1;
text-align:center;
}
.animated {
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
.animated.infinite {
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
@-webkit-keyframes flash {
from,
50%,
to {
opacity: 1;
}
25%,
75% {
opacity: 0;
}
}
@keyframes flash {
from,
50%,
to {
opacity: 1;
}
25%,
75% {
opacity: 0;
}
}
.flash {
-webkit-animation-name: flash;
animation-name: flash;
}
p{
color: #285943;
}
</style>
</head>
<body>
<script type="text/javascript">
function day()
{
document.getElementById("para1").innerHTML="June 22";
}
</script>
<div class="flash animated"><h1 style="text-align:center; color:#8CD790;">Happy Vacation!!</h1>
</div>
<h2 style="color:#77AF9C;"> I am So Happy!!</h2>
<p> so when is Vacation?</p>
<p onclick="day()" id="para1">Click to Show!</p>
<br/>
<img src="image/ocean.jpg" style="max-width: 30%;"><h6><a href="https://unsplash.com/photos/3V8gdLbwDOI"> Photo by Ameen Fahmy on Unsplash</a></h6>
<p> Let's go to Ocean!! </p>
<h2 style="color:#77AF9C;"><i> I love Vaction!!</i></h2>
</body>
</html>