-
Notifications
You must be signed in to change notification settings - Fork 0
/
bulboff.html
77 lines (66 loc) · 2.41 KB
/
bulboff.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
<!DOCTYPE html>
<html>
<head>
<title>
The Real Shias | 110_Huntress
</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<style>
.glow {
font-size: 80px;
color: #fff;
text-align: center;
-webkit-animation: glow 1s ease-in-out infinite alternate;
-moz-animation: glow 1s ease-in-out infinite alternate;
animation: glow 1s ease-in-out infinite alternate;
}
@-webkit-keyframes glow {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
}
to {
text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
}
}
</style>
</head>
<body>
<h1 class="glow"> ONLY SHIAS WILL UNDERSTAND </h1>
<script>
function light(value){
var pic;
if(value==0){
pic = "images/off.png";
}else {
pic = "images/on.png";
}
document.getElementById('bulb').src = pic;
}
</script>
<center>
<img id="bulb" src="images/off.png"/>
<hr>
<button type="button" class="btn btn-warning" onclick="light(1)"> Turn On </button>
<script>
if(value=1){
var x = document.getElementById('myDIV');
var x = document.getElementById("myDIV");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
<div id="myDIV">
<h1 class="glow"> Lanat Beshumar </h1>
</div>
</script>
<button type="button" class="btn btn-dark" onclick="light(0)"> Turn Off </button>
<br>
</center>
</body>
</html>