-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
138 lines (131 loc) · 3.8 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome To Our Website</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'poppins' , sans-serif;
}
.container{
width: 100%;
height: 100vh;
background-image: linear-gradient(rgba(0,0,0,0.3),transparent),url(event\ background.jpg);
background-size: cover;
background-position: center;
padding: 0 8%;
position: relative;
}
nav{
display: flex;
width: 100%;
align-items: center;
flex-wrap: wrap;
padding: 5px 0;
}
.welcome{
width: 150px;
color:white;
}
nav ul{
flex: 1;
text-align: right;
padding-right: 30px;
}
nav ul li{
display: inline-block;
list-style: none;
margin: 10PX 30PX;
}
nav ul li a{
color: #fff;
text-decoration: none;
position: relative;
}
nav ul li a::after{
content: '';
width: 0;
height: 3px;
position: absolute;
bottom: -5px;
left: 50%;
transform: translateX(-50%);
background: #fff;
transition: width 0.3s;
}
nav ul li a:hover::after{
width:50%;
}
.text-box{
color: #fff;
position: absolute;
bottom: 8%;
}
.text-box p{
font-size: 50px;
font-weight: 600;
}
.text-box h1{
font-size: 190px;
line-height: 160px;
margin-left: -10px;
color: transparent;
-webkit-text-stroke: 1px #fff;
background: url(back.png);
-webkit-background-clip : text;
background-position: 0 0;
animation: back 20s linear infinite;
}
@keyframes back{
100%{
background-position: 1500px 0;
}
}
.text-box h3{
font-size: 40px;
font-weight: 500;
}
.text-box .row{
display: flex;
align-items: center;
flex-wrap: wrap;
margin-top: 30px;
}
.text-box a{
color: #fff;
text-decoration: none;
padding: 10px 20px;
margin-right: 20px;
border: 2px solid #fff;
display: flex;
align-items: center;
}
</style>
</head>
<body>
<div class="container">
<nav>
<h1 class="welcome" style="font-family: cursive; font-size: 32px;">Welcome</h1>
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="organize.html">Organize</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
</nav>
<div class="text-box">
<p>Hi User</p>
<h1>Explore Events</h1>
<h3 style="font-size: 34px;">This website allows you to book events for yourself and arrange your own events</h3>
<div class="row">
<a href="connect.html" target="_blank">Connect With Us <span>⟶</span></a>
</div>
</div>
</div>
</body>
</html>