-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (93 loc) · 2.07 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Festival wishing script</title>
<link rel="icon" href="pic-1.jpeg" type="image/jpeg">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap" rel="stylesheet">
</head>
<style type="text/css">
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-size: 42px;
text-align: center;
overflow: hidden;
font-family: "Dancing Script", cursive;
}
.outer{
height: 100vh;
width: 100%;
background: orange;
border: 20px solid transparent;
border-image: url(bg1.jpeg) 30% round;
padding: 15px;
animation: blink 5s linear infinite;
}
@keyframes blink{
0%{
border-image: url(bg1.jpeg) 10% round;
}
50%{
border-image: url(bg1.jpeg) 15% round;
}
100%{
border-image: url(bg1.jpeg) 10% round;
}
}
.img{
height: 300px;
width: 100%;
margin: 0 auto;
animation: moveimg 5s linear infinite;
justify-content: left;
align-items: left;
}
@keyframes moveimg{
0%{
margin-left: 100px;
}
50%{
margin-left: 0px;
}
100%{
margin-left: 100px;
}
}
.changecolor{
display: block;
animation: changeclr 1s linear infinite;
}
@keyframes changeclr{
0%{
color: red;
}
100%{
color: green;
}
}
.btn{
border-radius: 10px;
margin-top: 10px;
padding: 0 20px;
font-size: 32px;
cursor: pointer;
border: none;
box-shadow: 0 10px 30px rgba(0,0,0,0.4);
background: navy;
color: white;
}
</style>
<body>
<div class="outer">
Subhranil
<div class="img"><img src="pic-10.png" alt="">
</div>
Wishing you <span class="changecolor">Happy Janmashtami</span>
</div>
</body>
</html>