-
Notifications
You must be signed in to change notification settings - Fork 0
/
landing page.html
94 lines (83 loc) · 2.73 KB
/
landing page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Landing Page</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css">
<style>
/* CSS Styles */
body {
font-family: 'Helvetica', 'futura-medium',;
margin: 0;
padding: 0;
background-color: #F2F2F2;
background-image: url('landing\ page\ pic.jpeg');
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 40px 20px;
text-align: center;
background-color: #FFFFFF;
background-image: url('8.jpg');
background-size: cover;
background-position: center;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.icon {
font-size: 24px;
margin-right: 10px;
}
h1 {
color: #333;
font-size: 48px;
font-weight: 300;
margin-bottom: 20px;
}
p {
color: #666;
font-size: 18px;
line-height: 1.5;
margin-bottom: 40px;
}
.button {
display: inline-block;
padding: 15px 30px;
background-color: #FF6F61;
color: #fff;
text-decoration: none;
border-radius: 30px;
font-size: 18px;
transition: background-color 0.3s ease;
}
.button:hover {
background-color: rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body>
<div class="container">
<div class="nav">
<a href="#"><i class="fas fa-home icon"></i></a>
<a href="#"><i class="fas fa-shopping-cart icon"></i></a>
<a href="#"><i class="fas fa-user icon"></i></a>
</div>
<h1 >Welcome to our Landing Page!</h1>
<p>In this landing page, you'll find a clean and modern design that aims to capture your attention. The page features a beautiful background image that sets a visually appealing tone. The content is displayed within a centered container, surrounded by a subtle shadow effect and rounded corners, which adds a touch of elegance.</p>
<p>Our landing page provides valuable information and resources about our product or service. .</p>
<a href="#" class="button" onclick="buttonClicked()">Get Started</a>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/js/all.min.js"></script>
<script>
// JavaScript functions
function buttonClicked() {
alert('Button clicked!');
}
// Example: Changing the background color on button hover