forked from harshmittal1750/one_page_html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodernDesign.html
152 lines (136 loc) · 3.33 KB
/
modernDesign.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
147
148
149
150
151
152
<!DOCTYPE html>
<html>
<head>
<title>Modern Design</title>
<link
href="https://fonts.googleapis.com/css?family=Montserrat"
rel="stylesheet"
/>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Montserrat", sans-serif;
}
.site-header {
width: 100%;
height: 100vh;
/* background: #439d0f; */
background: linear-gradient(57deg, #00c6a7, #1e4d92);
clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 0% 100%);
}
nav {
width: 100%;
height: 100px;
/* background-color: red; */
display: flex;
color: white;
}
.logo {
width: 50%;
height: 100px;
}
.logo h1 {
line-height: 100px;
padding-left: 50px;
}
.menu {
width: 50%;
height: 100px;
}
.menu ul {
width: 100%;
height: 100px;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
}
.menu ul li {
list-style: none;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
}
section {
display: flex;
}
.leftside {
width: 50%;
height: auto;
overflow: hidden;
margin: 20px;
}
.leftside img {
width: 600px;
height: 500px;
}
.rightside {
width: 55%;
height: 300px;
color: white;
text-align: center;
margin-top: 80px;
padding: 40px;
}
.rightside h1 {
text-align: center;
color: #ffffff;
font-size: 50px;
font-weight: 900;
text-transform: uppercase;
}
.rightside p {
font-size: 1.1rem;
padding: 30px 0;
}
.rightside button {
font-size: 17px;
font-weight: 600;
color: white;
text-transform: uppercase;
background: linear-gradient(57deg, #00c6a7, #1e4d92);
border-radius: 4px 4px 4px 4px;
padding: 20px 35px;
}
.rightside button:hover {
background: linear-gradient(57deg, #1e4d92, #00c6a7);
}
</style>
</head>
<body>
<header class="site-header clearfix">
<nav>
<div class="logo">
<h1>Modern Website</h1>
</div>
<div class="menu">
<ul>
<li>Home</li>
<li>Services</li>
<li>AboutUs</li>
<li>ContactUs</li>
</ul>
</div>
</nav>
<section>
<div class="leftside">
<img src="img/undraw_business_chat_ldig.png" />
</div>
<div class="rightside">
<h1>Our Modern Website</h1>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Beatae
dignissimos quaerat fugiat sit quidem. Sit in, adipisci, ducimus
praesentium nobis corrupti cupiditate et provident, ab quo ipsum
eveniet recusandae! Libero, a? Deserunt libero alias quis eos,
asperiores maiores voluptas. Ratione aspernatur eum natus maxime
eveniet, modi maiores commodi. Possimus, iste.
</p>
<button>Welcome</button>
</div>
</section>
</header>
</body>
</html>