-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (42 loc) · 1.13 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>I wonder what could happen..</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body onload="none">
<h1>Welcome to my site!</h1>
<button class="button-surprise" title="Go on.. Click it!! :)" onclick="buttonSurprise()">Press this button for a ✨SPECIAL✨ surprise!</button>
<style>
body {
font-family: sans-serif;
text-align: center;
}
.button-surprise {
height: 37px;
background: dodgerblue;
border-radius: 20px;
border: 3px solid greenyellow;
cursor: pointer;
color: white;
transition: 0.6s;
text-align: center;
box-shadow: 0 5px 15px rgba(145, 92, 182, 0.7);
}
.button-surprise:hover {
height: 37px;
background: black;
border-radius: 20px;
border: 3px solid goldenrod;
cursor: pointer;
color: white;
transition: 0.8s;
text-align: center;
box-shadow: 0 8px 15px rgba(245, 172, 39, 6.8);
}
</style>
<script src="script.js"></script>
</body>
</html>