-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (72 loc) · 2.05 KB
/
index.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
<title> Games </title
<html>
<head>
</head>
<body>
<button onclick="openGame()">Cookie Clicker</button>
<script>
function openGame() {
var win = window.open()
var url = "https://eli-schwartz.github.io/cookieclicker/" // this is the link
var iframe = win.document.createElement('iframe')
iframe.style.width = "100%";
iframe.style.height = "100%";
iframe.style.border = "none";
iframe.src = url
win.document.body.appendChild(iframe)
win.document.body.style.margin = '0px';
}
</script>
<style>
button {
color: #FFF9;
background-color: #68A0DE;
box-shadow: inset 0 -8px 0 0 rgba(0, 0, 0, 0.17);
transition: 0.1s;
text-shadow: 0px 3px rgba(0, 0, 0, 0.17);
border: 3px solid #000;
border-radius: 1rem;
padding: 1rem;
font-size: 1rem;
}
button:hover {
box-shadow: inset 0 -6px 0 0 rgba(0, 0, 0, 0.17);
text-shadow: 0px 2px rgba(0, 0, 0, 0.17);
}
button:active {
box-shadow: inset 0 0px 0 0 rgba(0, 0, 0, 0.17);
text-shadow: 0px 0px rgba(0, 0, 0, 0.17);
}
</style>
</body>
</html>
<html>
<head>
</head>
<meta charset="utf-8">
<title>Cookie Clicker</title>
<body>
<button onclick="window.location.href='https://eli-schwartz.github.io/cookieclicker/';"> Cookie Clicker</button>
<style>
button {
color: #FFF9;
background-color: #68A0DE;
box-shadow: inset 0 -8px 0 0 rgba(0, 0, 0, 0.17);
transition: 0.1s;
text-shadow: 0px 3px rgba(0, 0, 0, 0.17);
border: 3px solid #000;
border-radius: 1rem;
padding: 1rem;
font-size: 1rem;
}
button:hover {
box-shadow: inset 0 -6px 0 0 rgba(0, 0, 0, 0.17);
text-shadow: 0px 2px rgba(0, 0, 0, 0.17);
}
button:active {
box-shadow: inset 0 0px 0 0 rgba(0, 0, 0, 0.17);
text-shadow: 0px 0px rgba(0, 0, 0, 0.17);
}
</style>
</body>
</html>