-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindow.html
49 lines (47 loc) · 1.25 KB
/
window.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
<!DOCTYPE html>
<html>
<head>
<script src="script.js" type="text/javascript"></script>
<style>
p {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
position: relative;
vertical-align: center;
font-size: 30px;
font-size: 15.5vw;
}
body {
height: 100vh;
}
#clicker {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
background-image: url("potato.jpg");
background-repeat: no-repeat;
background-size: 100%;
background-position: center;
min-width: 200px;
clear: both;
}
#button {
position: fixed;
right: 10px;
height: 50px;
width: 50px;
}
</style>
</head>
<body>
<div id="button"></div>
<div id="clicker">
<p id="text">Click Me</p>
</div>
</body>
</html>