-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBox-shadow.html
More file actions
73 lines (63 loc) · 1.7 KB
/
Box-shadow.html
File metadata and controls
73 lines (63 loc) · 1.7 KB
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>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css" media="all">
input {
margin: 50px 50px;
padding: 12px 6px;
border: none;
outline:2px solid #0091EA;
/* outline-offset: 4px; */
border-radius: 4px;
background: Transparent;
transition: box-shadow 0.3s;
color: #151515;
}
input:focus {
box-shadow: 0 0 30px #0091EA;
}
.blur {
margin: 0 auto;
background: Transparent;
text-align: center;
text-shadow: 0 0 20px yellow,
0 0 40px yellow,
0 0 80px yellow,
0 0 120px yellow;
font-weight: 600;
user-select: none;
/* box-shadow: 0 0 50px yellow; */
}
button {
padding: 6px 4px;
background: yellow;
border: none;
border-radius: 4px;
margin: 30px 120px;
}
</style>
<title></title>
</head>
<body id="body">
<input type="text/submit/hidden/button/image" name="" id="" value="" placeholder="Gohar" />
<div class="blur">
Sarkar Riaz Ahmed Gohar Shahi
</div>
<button id="btn">click for sound</button>
</body>
<script type="text/javascript" charset="utf-8">
const btn = document.getElementById('btn')
const body = document.getElementById('body')
let day = true
btn.onclick = function play() {
const audio = new Audio('./Sound/mixkit-plastic-bubble-click-1124.wav')
audio.preload = 'auto';
day = !day
let color = day ? '#fff' : '#333'
body.style.background = color
audio.play()
}
</script>
</html>