-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIndex.html
245 lines (226 loc) · 6.43 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DOM</title>
<!--Font Awesome Link-->
<script src="https://use.fontawesome.com/releases/v6.1.0/js/all.js" crossorigin="anonymous"></script>
<style>
body {
padding: 0%;
margin: 0%;
background-color: black;
font-family: monospace;
overflow: hidden
}
.container {
width: 80%;
height: 100vh;
display: grid;
background-color: white;
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
margin: 0px auto;
grid-template-columns: 900px auto;
grid-template-rows: 100px 70px 500px 50px;
}
.logo {
background-color: black;
grid-column: 1 / span 2;
grid-row: 1 / 2;
color: white;
display: grid;
}
.logo h2 {
align-self: center;
justify-self: center;
font-size: 40px;
font-weight: 400;
cursor: pointer;
}
.navbar {
grid-column: 1 /span 2;
grid-row: 2 / 3;
background-color: rgb(35, 35, 35);
display: grid;
}
.navbar ul {
display: inline-block;
margin: 0px auto;
align-self: center;
justify-self: center;
}
.navbar ul li {
display: inline-block;
color: white;
text-align: center;
margin: 10px;
padding: 10px;
transition: all 0.2s ease;
}
.navbar ul li:hover {
border: 1px solid white;
cursor: pointer;
transform: scale(1.2);
}
.maincontent {
grid-column: 1 / 2;
grid-row: 3 / 5;
background-color: black;
display: grid;
}
.maincontent h1 {
color: white;
margin: 18px 0px 0px 30px;
align-self: flex-start;
justify-self: start;
font-weight: 500;
position: relative;
top:40px;
}
.maincontent p{
display: block;
width: 600px;
color: white;
align-self: flex-start;
margin: 0px 0px 0px 30px;
position: relative;
top: 0px;
font-size: 15px;
}
.maincontent h2{
color: white;
position: relative;
display: block;
margin: 0px 0px 0px 30px;
top:-10px;
font-weight: 500;
}
.innerdiv{
width: 300px;
height: 50px;
margin: 0%;
position: relative;
top:-80px;
cursor: pointer;
}
.fa-github{
color: white;
margin: 0px 0px 0px 30px;
display: inline-block;
font-size: 35px;
transition: all 0.5s ease;
}
.fa-github:hover{
transform: rotate(360deg);
}
.fa-linkedin-in{
color: white;
margin: 0px 0px 0px 30px;
display: inline-block;
font-size: 35px;
transition: all 0.5s ease;
}
.fa-linkedin-in:hover{
transform: rotate(360deg);
}
.fa-envelope-open{
color: white;
margin: 0px 0px 0px 30px;
display: inline-block;
font-size: 35px;
transition: all 0.5s ease;
}
.fa-envelope-open:hover{
transform: rotate(360deg);
}
.fa-instagram{
color: white;
margin: 0px 0px 0px 30px;
display: inline-block;
font-size: 35px;
transition: all 0.5s ease;
}
.fa-instagram:hover{
transform: rotate(360deg);
}
.sidebar{
grid-column: 2/3;
grid-row: 3/5;
background-color:black;
display: grid;
}
.sidebar ul{
align-self: flex-start;
justify-self: center;
position: relative;
top:50px;
}
.sidebar ul li{
color: white;
padding: 10px;
cursor: pointer;
transition: all 0.5s ease;
}
.sidebar ul li:hover{
color:yellow;
}
.footer{
grid-column: 1 / span 2;
background-color: rgb(35, 35, 35) ;
grid-row: 5 / 6;
display: grid;
}
.footer p {
color: lightgray;
font-size: 15px;
text-align: center;
align-self: center;
justify-self: center;
}
</style>
</head>
<body>
<div class="container">
<div class="logo">
<h2>DEV---s</h2>
</div>
<div class="navbar">
<ul>
<li>Home</li>
<li>Solutions</li>
<li>Contact</li>
<li>Career</li>
</ul>
</div>
<div class="maincontent">
<h1>Hello Developers👋</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam deleniti delectus officiis fuga, quaerat
tempora totam doloribus cum tenetur atque incidunt dolor? Molestias ab placeat in quae architecto facere
consequuntur?
</p>
<h2>Connect with us.</h2>
<div class="innerdiv">
<i class="fa-brands fa-github"></i>
<i class="fa-brands fa-linkedin-in"></i>
<i class="fa-regular fa-envelope-open"></i>
<i class="fa-brands fa-instagram"></i>
</div>
</div>
<div class="sidebar">
<ul>
<li>Full-Stack Developer</li>
<li>Back-end Developer</li>
<li>Front-end Developer</li>
<li>Mern Stack Developer</li>
<li>Mean Stack Developer</li>
<li>UI/UX Designer</li>
</ul>
</div>
<div class="footer">
<p>Created by : Muhammad Shakir-dev</p>
</div>
</div>
</body>
</html>