-
Notifications
You must be signed in to change notification settings - Fork 0
/
Task6.html
116 lines (116 loc) · 3 KB
/
Task6.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
td,th,table{
border: 1px solid black;
background-color: rgb(142, 196, 202);
width:800px ;
border-radius: 10px;
margin-left: auto;
margin-right: auto;
}
#one{
border: 2px solid lightgreen;
height: 100px;
width: 100px;
border-radius: 3px;
}
#two{
border: 2px solid lightgreen;
height: 100px;
width: 100px;
border-radius: 5px;
}
#three{
border: 2px solid lightgreen;
height: 100px;
width: 100px;
border-radius: 15px;
}
#four{
border: 2px solid lightgreen;
height: 100px;
width: 100px;
border-radius: 10px;
}
#five{
border: 2px solid lightgreen;
height: 100px;
width: 100px;
}
#six{
border: 2px solid lightgreen;
height: 100px;
width: 100px;
border-radius: 15px;
}
#seven{
border: 2px solid lightgreen;
height: 50px;
width: 100px;
border-radius: 50%;
}
#eight{
border: 2px solid lightgreen;
height: 100px;
width: 100px;
border-radius: 5px;
}
#nine{
border: 2px solid lightgreen;
height: 100px;
width: 100px;
border-top-right-radius: 15px;
border-bottom-left-radius: 15px;
}
.container{
display: grid;
grid-template-columns: 120px 120px 120px;
margin-left: 30%;
}
.shape{
margin: 20px;
}
</style>
</head>
<body>
<h2>Task 1</h2>
<table>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>80</td>
</tr>
</table>
<div class="container">
<div id="one" class="shape"></div>
<div id="two" class="shape"></div>
<div id="three" class="shape"></div>
<div id="four" class="shape"></div>
<div id="five" class="shape"></div>
<div id="six" class="shape"></div>
<div id="seven" class="shape"></div>
<div id="eight" class="shape"></div>
<div id="nine" class="shape"></div>
</div>
</body>
</html>