File tree Expand file tree Collapse file tree 1 file changed +103
-0
lines changed
Expand file tree Collapse file tree 1 file changed +103
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7+ < base href =". " />
8+ < title > Table</ title >
9+ < style >
10+ /*
11+ SPACING SYSTEM (px)
12+ 2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
13+
14+ FONT SIZE SYSTEM (px)
15+ 10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
16+ */
17+
18+ /*
19+ Main Color: #087f5b
20+ Grey Color: #212529
21+ */
22+ * {
23+ margin : 0 ;
24+ padding : 0 ;
25+ box-sizing : border-box;
26+ }
27+
28+ body {
29+ font-family : 'Inter' , sans-serif;
30+ color : # 212529 ;
31+ display : flex;
32+ justify-content : center;
33+ padding : 70px 0 ;
34+ }
35+
36+ table {
37+ width : 800px ;
38+ text-align : left;
39+ border-collapse : collapse;
40+ }
41+
42+ th ,
43+ td {
44+ padding : 16px 24px ;
45+ }
46+
47+ thead tr {
48+ background-color : # 087f5b ;
49+ color : # fff ;
50+ }
51+
52+ thead th {
53+ width : 25% ;
54+ }
55+
56+ tbody tr : nth-child (odd) {
57+ background-color : # f8f9fa ;
58+ }
59+
60+ tbody tr : nth-child (even) {
61+ background-color : # e9ecef ;
62+ }
63+ </ style >
64+ </ head >
65+ < body >
66+ < table >
67+ < thead >
68+ < tr >
69+ < th > Chair</ th >
70+ < th > The Laid Back</ th >
71+ < th > The Worker Bee</ th >
72+ < th > The Chair 4/2</ th >
73+ </ tr >
74+ </ thead >
75+ < tbody >
76+ < tr >
77+ < th > Width</ th >
78+ < td > 80 cm</ td >
79+ < td > 60 cm</ td >
80+ < td > 220 cm</ td >
81+ </ tr >
82+ < tr >
83+ < th > height</ th >
84+ < td > 100 cm</ td >
85+ < td > 110 cm</ td >
86+ < td > 90 cm</ td >
87+ </ tr >
88+ < tr >
89+ < th > Depth</ th >
90+ < td > 70 cm</ td >
91+ < td > 65 cm</ td >
92+ < td > 80 cm</ td >
93+ </ tr >
94+ < tr >
95+ < th > Weight</ th >
96+ < td > 16 cm</ td >
97+ < td > 22 cm</ td >
98+ < td > 80 cm</ td >
99+ </ tr >
100+ </ tbody >
101+ </ table >
102+ </ body >
103+ </ html >
You can’t perform that action at this time.
0 commit comments