File tree Expand file tree Collapse file tree 1 file changed +114
-0
lines changed Expand file tree Collapse file tree 1 file changed +114
-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
+ < title > Template</ title >
8
+
9
+ < link rel ="preconnect " href ="https://fonts.googleapis.com " />
10
+ < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin />
11
+ < link
12
+ href ="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap "
13
+ rel ="stylesheet "
14
+ />
15
+
16
+ < style >
17
+ /*
18
+ SPACING SYSTEM (px)
19
+ 2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
20
+
21
+ FONT SIZE SYSTEM (px)
22
+ 10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
23
+ */
24
+
25
+ /*
26
+ MAIN COLOR: #087f5b
27
+ GREY COLOR: #343a40
28
+
29
+ */
30
+
31
+ * {
32
+ margin : 0 ;
33
+ padding : 0 ;
34
+ box-sizing : border-box;
35
+ }
36
+
37
+ body {
38
+ font-family : "Inter" , sans-serif;
39
+ color : # 343a40 ;
40
+ line-height : 1 ;
41
+ display : flex;
42
+ justify-content : center;
43
+ }
44
+
45
+ table {
46
+ width : 800px ;
47
+ margin-top : 100px ;
48
+ /* border: 1px solid #343a40; */
49
+ border-collapse : collapse;
50
+ font-size : 18px ;
51
+ }
52
+
53
+ thead th {
54
+ background-color : # 087f5b ;
55
+ color : # fff ;
56
+ width : 25% ;
57
+ }
58
+
59
+ th ,
60
+ td {
61
+ /* border: 1px solid #343a40; */
62
+ padding : 16px 24px ;
63
+ text-align : left;
64
+ }
65
+
66
+ tbody tr : nth-child (odd) {
67
+ background-color : # f8f9fa ;
68
+ }
69
+
70
+ tbody tr : nth-child (even) {
71
+ background-color : # e9ecef ;
72
+ }
73
+ </ style >
74
+ </ head >
75
+ < body >
76
+ < table >
77
+ < thead >
78
+ < tr >
79
+ < th > Chair</ th >
80
+ < th > The Laid Back</ th >
81
+ < th > The Worker Bee</ th >
82
+ < th > The Chair 4/2</ th >
83
+ </ tr >
84
+ </ thead >
85
+
86
+ < tbody >
87
+ < tr >
88
+ < th > Width</ th >
89
+ < td > 80 cm</ td >
90
+ < td > 60 cm</ td >
91
+ < td > 22 cm</ td >
92
+ </ tr >
93
+ < tr >
94
+ < th > Height</ th >
95
+ < td > 100 cm</ td >
96
+ < td > 110 cm</ td >
97
+ < td > 90 cm</ td >
98
+ </ tr >
99
+ < tr >
100
+ < th > Depth</ th >
101
+ < td > 70 cm</ td >
102
+ < td > 65 cm</ td >
103
+ < td > 80 cm</ td >
104
+ </ tr >
105
+ < tr >
106
+ < th > Weight</ th >
107
+ < td > 16 kg</ td >
108
+ < td > 22 kg</ td >
109
+ < td > 80 kg</ td >
110
+ </ tr >
111
+ </ tbody >
112
+ </ table >
113
+ </ body >
114
+ </ html >
You can’t perform that action at this time.
0 commit comments