-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
146 lines (112 loc) · 2.34 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html>
<head>
<title>Website Page Design</title>
<link rel="stylesheet" href="s2.css">
</head>
<body>
</div>
<div class="bg"></div>
<div class="bg bg2"></div>
<div class="bg bg3"></div>
<div class="content">
</div>
<div class="hero">
<div class="navbar">
<a href="https://idahofallstigers.org/">
<img src="./Images/IF.png" class="logo">
</a>
<a href="take a tour.html"><button type="button"> About Me </button></a>
</div>
<div class="content">
<big>Welcome To </big>
<h1>Michael Wu's<br>Website</br></h1>
</div>
</div>
<style>
.vt {
position: absolute;
right: 80px;
bottom: 40px;
}
* {
margin: 0;
padding: 0;
font-family: sans-serif;
}
.hero {
width: 100%;
height: 100vh;
background-size: cover;
background-position: center;
position: relative;
overflow: hidden;
margin: 0;
/* Add this line to remove default margin */
}
.logo {
width: 130px;
height: 140px;
margin: left;
cursor: pointer;
opacity: 0.85;
}
.logo:hover {
opacity: 1.5;
}
.navbar {
width: 85%;
height: 15%;
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
}
button {
padding: 15px 30px;
/* Increase the padding as desired */
font-size: 25px;
/* Increase the font size as desired */
color: #fbfcfd;
padding: 10px 25px;
background: transparent;
border: 1px solid #fff;
border-radius: 20px;
outline: none;
cursor: pointer;
opacity: 0.9;
}
button:hover {
opacity: 1.5;
}
.content {
color: #fbfcfd;
position: absolute;
top: 50%;
left: 8%;
transform: translateY(-50%);
z-index: 2;
}
h1 {
font-size: 80px;
margin: 10px 0 30px;
line-height: 80px;
}
.menu {
display: block;
width: 25px;
margin: 40px auto 0;
cursor: pointer;
}
.bubbles img {
width: 50px;
animation: bubble 7s linear infinite;
}
.bubbles {
width: 100%;
display: flex;
align-items: center;
justify-content: space-around;
position: absolute;
bottom: -70px;
}