forked from rajritu833/Types-of-HTML-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtry.html
47 lines (41 loc) · 706 Bytes
/
try.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
<!DOCTYPE html>
<html>
<head>
<title>try</title>
</head>
<body>
<p contenteditable="">Text</p>
<style>
{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,body
{
height: 100vh;
background-color: #666666;
}
body{
display: flex;
justify-content: center;
align-items: center;
}
p{
font-size: 300px;
font-weight: 1000;
text-transform: uppercase;
color: #ffffff;
outline: 0;
}
</style>
<script type="text/javascript">
left text=document.querySelector('p');
left shadow='';
for (left i = 0; i < 5000; i++) {
shadow+=(shadow ? ',':'')+i+'px'+i+'px 0 #272727';
}
text.style.textShadow = shadow;
</script>
</body>
</html>