-
Notifications
You must be signed in to change notification settings - Fork 0
/
taskfour.html
316 lines (282 loc) · 5.91 KB
/
taskfour.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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<!DOCTYPE html>
<html>
<head>
<title>Wejapa Task 4</title>
<style>
body {
font-family: 'Segoe UI', 'Roboto', arial, sans-serif;
margin:0;
padding:0;
font-size:18px;
}
header {
padding: 0 200px;
height: 480px;
background-color: #ffffff;
}
main {
padding: 0 200px;
height: 700px;
background-color:#DDE0E3;
}
footer {
color: #fff;;
height: 400px;
}
h1 {
font-size:50px;
padding:0;margin:0;
}
ul {
margin:0;
padding: 4px 4px;
}
nav ul li { list-style-type: none;
background-color: ;
display: inline-block;
padding: 10px 25px;
margin: 10px 0;
}
nav ul li:hover {
transform: scale(1.4);
cursor: pointer;
}
.sp {border-radius: 25px;background: #00e6e6; color: white;
}
.sp:hover {background-color: transparent;color:#000;}
.suspend {
background-color: rgba(0,0,0,0.5);
width: 700px;
padding: 20px;
position:absolute;
z-index: 1;
top: 442px;
left: 50%;
transform: translate(-50%);
text-align:center;
border-radius: 7px;
}
.suspends {
display: none;
margin-top: 20px;
margin-left: -22px;
position: absolute;
z-index: 2;
}
.suspend1 {
width: 732px;
background-color: #fff;
padding: 5px 20px;
border-radius: 7px;
text-align: left;
}
a {text-decoration: none;}
.suspend1 button {
background-color: #00e6e6;
color: white;
text-align: center;
width: 100px;
padding: 13px;
margin: 5px;
}
input[type=link], input[type=submit] {
border-radius: 5px;
padding: 10px;
border: none;
}
input[type=submit] {
background-color: #00e6e6;
color: white;
text-align: center;
width: 100px;
}
.main1 {
padding-top: 100px;
text-align:center;
overflow: auto;
}
fieldset {
position: absolute;
z-index: 1;
text-align: left;
background-color: #fff;
border-color: transparent;
width: 300px;
margin: 30px;
border-radius: 5px;
}
.fieldset2 {
top:740px;left:550px;
}
.fieldset3 {
top:775px;left:900px;
}
legend {
width: 50px;
height: 50px;
background-color: #000;
border-radius: 50%;
}
.line {
width:600px;
height:10px;
background-color:cyan;
position:absolute;
top:890px;
left: 350px;
}
button {
background: #00e6e6;
color: #fff;
border: none;
padding: 15px 25px;
border-radius: 10px;
}
.footer1 {
padding: 0 200px;
background-color: rgba(0,0,0,0.5);
text-align: center;
height: 200px;
overflow: auto;
}
.footer2 {
padding: 30px 200px;
height: 300px;
background-color: #000;
}
table {float:left;
display: inline-block;
width: 20%;
text-align: left;
}
th, td {
padding-bottom: 10px;
}
@media only screen and (max-width: 1200px) {
header, main, .footer1, .footer2 {padding: 0 30px;}
.fieldset2 {left:383px;}
.fieldset3 {left:735px;}
}
@media only screen and (max-width: 700px) {
* {box-sizing:border-box;}
header, main, .footer1, .footer2 {padding: 0 20px;}
main {height:1200px;}
.footer2 {height:700px;}
fieldset {left:100px;}
.fieldset2 {top:1027px;left:100px;}
.fieldset3 {top:1330px;left:100px;}
.line {transform:rotate(90deg);top:1150px;left:-15px;}
table {display:block;width:100%;margin:10px 38%;
text-align:center;}
.suspend {width:400px;transform: translate(-50%,-24%);}
input[type=link], input[type=submit] {width:315px;display:block;margin:10px 20px;}
.button1 {text-align:center;}
.suspend1 {width:400px;}
}
</style>
</head>
<body>
<header>
<nav><ul>
<li style="padding:0;font-size:30px;">Shortly</li>
<li>Features</li>
<li>Pricing</li>
<li>Resources</li>
<attr style="float:right;">
<li>Login</li>
<li class="sp">Sign Up</li>
</attr>
</ul>
</nav>
<div style="width:450px;">
<h1>More than just shorter links</h1>
<p>Build your brand's recognition and get detailed
insights on how your links are performing</p>
</div>
<div class="button1">
<button>Get Started</button>
</div>
</header>
<div class="suspend">
<form>
<input type="link" onclick="myFunction()" name="link" size="65" placeholder="Shorten a link here..." required>
<input type="submit" value="Shorten It!">
<div class="suspends" id="demo">
<p class="suspend1"><a href="https://www.frontendmentor.io">http://www.frontendmentor.io</a>
https://rel.ink/k4lKyk<button>copy</button></p>
<p class="suspend1"><a href="https://twitter.com/frontendmentor">https://twitter.com/frontendmentor</a>
https://rel.ink/gxOXp9<button>copy</button></p>
<p class="suspend1"><a href="https://www.linkedin.com/company/frontend-mentor">https://www.linkedin.com/company/frontend-mentor</a>
https://rel.ink/gob3X9<button>copy</button></p>
</div>
</form>
</div>
<script>
function myFunction() {
document.getElementById("demo").style.display = 'block';
}
</script>
<main>
<div class="main1">
<h2>Advanced Atatistics</h2>
<p>Track how your links are performing across the web with our advanced
statics dashboard</p>
</div>
<fieldset><legend></legend>
<h4>Brand Recognition</h4>
<p>Build your branch recognition with each click.
Generic links don't mean a thing. Branded links help
instil confidence in your content.</p>
</fieldset>
<fieldset class="fieldset2"><legend></legend>
<h4>Detailed Records</h4>
<p>Gain insights into who is clicking your links.
knowing when and where people engage with your content
helps inform better decisions.</p>
</fieldset>
<fieldset class="fieldset3"><legend></legend>
<h4>Fully Customizable</h4>
<p>Improve brand awareness and content discoverability through
customizable links, supercharging audience engagement.</p>
</fieldset>
<div class="line"></div>
</main>
<footer>
<div class="footer1">
<h3>Boost your links today</h3>
<button>Get Started</button>
</div>
<div class="footer2">
<table>
<tr>
<th style="font-size:30px;">Shortly</th>
</tr>
</table>
<table>
<tr><th>Features</th></tr>
<tr><td>Link Shortening</td></tr>
<tr><td>Branded Links</td></tr>
<tr><td>Analytics</td></tr>
</table>
<table>
<tr><th>Resources</th></tr>
<tr><td>Blog</td></tr>
<tr><td>Developers</td></tr>
<tr><td>Support</td></tr>
</table>
<table>
<tr><th>Company</th></tr>
<tr><td>About</td></tr>
<tr><td>Our Team</td></tr>
<tr><td>Careers</td></tr>
<tr><td>Contact</td></tr>
</table>
<table>
<tr>
<th>Social Media</th>
</tr>
</table>
</div>
</footer>
</body>
</html>