-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBirthday Wish.html
132 lines (127 loc) · 4.02 KB
/
Birthday Wish.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html>
<head>
<title>Form Darshan Patel</title>
<style>
body{
font-family:Arial, Helvetica,sans-serif;
padding:0;
margin:0;
background-color:black;
}
.container{
width:80%;
margin:auto;
overflow:hidden;
margin-top: 100px;
}
#demo1,#demo2,#demo3,#demo4{
font-family: 'Londrina Outline', cursive;
text-align: center;
text-transform: uppercase;
font-size: 7em;
font-weight: bold;
letter-spacing: 0.11em;
}
#demo1{
color:yellow;
}
#demo2{
color:red;
}
#demo3{
color:blue;
}
#demo4{
color:green;
}
.red{
text-shadow:
0 0 5px red,
0 0 10px red,
0 0 20px red,
0 0 40px red,
0 0 80px red,
0 0 90px red,
0 0 100px red,
0 0 150px red;
}
.yellow{
text-shadow:
0 0 5px yellow,
0 0 10px yellow,
0 0 20px yellow,
0 0 40px yellow,
0 0 80px yellow,
0 0 90px yellow,
0 0 100px yellow,
0 0 150px yellow;
}
.green{
text-shadow:
0 0 5px #7bffcc,
0 0 10px #7bffce,
0 0 20px #7bffce,
0 0 40px #7bffce,
0 0 80px #7bffce,
0 0 90px #7bffce,
0 0 100px #7bffce,
0 0 150px #7bffce;
}
.blue{
text-shadow:
0 0 5px #7bcfff,
0 0 10px #7bcfff,
0 0 20px #7bcfff,
0 0 40px #7bcfff,
0 0 80px #7bcfff,
0 0 90px #7bcfff,
0 0 100px #7bcfff,
0 0 150px #7bcfff;
}
.white{
text-shadow:
0 0 5px ,
0 0 10px #f3f4f5,
0 0 20px #f3f4f5,
0 0 40px #f3f4f5,
0 0 80px #f3f4f5,
0 0 90px #f3f4f5,
0 0 100px #f3f4f5,
0 0 150px #f3f4f5;
}
#dot{
color: red;
text-align: center;
font-size: 5em;
font-weight: bold;
letter-spacing: 0.15em;
}
</style>
</head>
<body>
<div class="container"><p id="demo1" class="red">Happy</p></div>
<div class="container"><p id="demo2" class="yellow">Birthday</p></div>
<div class="container"><p id="demo3" class="green">Name</p></div> <!--Birthday People Name-->
<div class="conatainer"><h1 id="dot" class="white">---------------</h1></div>
<div class="container"><p id="demo4" class="blue"></p></div>
<script>
document.getElementById("demo1").style.display = "none";
document.getElementById("demo2").style.display = "none";
document.getElementById("demo3").style.display = "none";
document.getElementById("dot").style.display = "none";
document.getElementById("demo4").style.display = "none";
var i=1;
window.setTimeout(delay,1000);
document.getElementById("demo4").innerHTML = "From DP";
function delay(){
if(i==4){
document.getElementById("dot").style.display = "block";
}
document.getElementById("demo"+i).style.display = "block";
i++;
setTimeout(delay,2000);
}
</script>
</body>
</html>