-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (92 loc) · 3.85 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
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="https://glitch.com/favicon.ico" />
<title>Slaycation!</title>
<style>
h1
{
text-align : center
color: white
}
p {text-align : center}
div {text-align : center}
a {text-align : center}
/* Dropdown Button Formatting*/
.dropbtn
{
background-color: #07BFD1;
color: white;
padding: 16px;
font-size: 16px;
min-width: 100px;
border: none;
position: fixed;
left: 91%;
top: 3%;
}
/* Positions the Dropdown Content */
.dropdown
{
position: absolute;
display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content
{
display: none;
position: fixed;
top: 11.3%;
left: 91%;
background-color: #b3e6db;
min-width: 100px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Formats the Links Inside the Dropdown */
.dropdown-content a
{
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Changes Color of Dropdown Links on Hover */
.dropdown-content a:hover {background-color: #04c0ba;}
/* Shows the Dropdown Menu on Hover */
.dropdown:hover .dropdown-content {display: block;}
/* Changes the Background Color of the Dropdown Button When the Dropdown Content is Shown */
.dropdown:hover .dropbtn {background-color: #04c0ba;}
</style>
<!-- import the webpage's stylesheet -->
<link rel="stylesheet" href="/style.css" />
<!-- import the webpage's javascript file -->
<script src="/script.js" defer></script>
</head>
<body>
<div style = "position: relative; z-index: -1; background-size = 50px;">
<img src= "https://i.pinimg.com/originals/c9/37/01/c937015728cbd89128d974bcc36fd195.png" style = "width: 520px; height: 520px; transform: rotate(-45deg);" />
</div>
<div class="dropdown">
<button class="dropbtn">Countries</button>
<div class="dropdown-content">
<p style = "background-image: url('https://cdn.britannica.com/68/7068-004-7848FEB4/Flag-Canada.jpg'); background-size: 100px;">
<a href="https://canadatravel.glitch.me">Canada</a></p>
<p style="background-image: url('https://cdn.britannica.com/25/4825-004-F1975B92/Flag-United-Kingdom.jpg'); background-size: 100px;">
<a href="https://englandtravel.glitch.me">England</a></p>
<p style="background-image: url('https://www.countryaah.com/wp-content/uploads/2020/08/Flag-of-France.jpg'); background-size: 110px;">
<a href="https://francetravel.glitch.me">France</a></p>
<p style="background-image: url('https://cdn.britannica.com/73/2573-004-29818847/Flag-Mexico.jpg'); background-size: 100px;">
<a href="https://mexicotravel.glitch.me">Mexico</a></p>
<p style = "background-image: url('https://www.magicmurals.com/media/amasty/webp/catalog/product/cache/155d73b570b90ded8a140526fcb8f2da/G/L/GLO-0000000103_jpg.webp'); background-size: 72px;">
<a href="https://thailandtravel.glitch.me">Thailand</a></p>
</div>
</div>
<p style = "background-image: url('https://i.pinimg.com/originals/6d/32/e4/6d32e4c7bf93b05c0a55aa207cd1cd3d.jpg'); background-size: 1270px 500px; background-position: bottom; background-attachment: fixed; font-family: cursive;">
Welcome to Slaycation, the one stop shop travel website!<br>Use the drop down menu in the top right corner to find information about any country you dream of visiting!
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</p>
</body>
</html>