File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 8
8
content ="width=device-width, initial-scale=1.0 "
9
9
/>
10
10
11
+
11
12
< link rel ="stylesheet " href ="style.css " />
12
13
< link rel ="preconnect " href ="https://fonts.googleapis.com " />
13
14
< link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin />
@@ -110,6 +111,11 @@ <h3>The Laid Back</h3>
110
111
</ ul >
111
112
< div class ="chair-price ">
112
113
< strong > 250€</ strong >
114
+ < span > Weighs 22 kg</ span >
115
+ </ li >
116
+ </ ul >
117
+ < div class ="chair-price ">
118
+ < strong > 525€</ strong >
113
119
< a href ="# " class ="btn btn--small "> Add to cart</ a >
114
120
</ div >
115
121
</ div >
@@ -135,6 +141,7 @@ <h3>The Worker Bee</h3>
135
141
</ ul >
136
142
< div class ="chair-price ">
137
143
< strong > 525€</ strong >
144
+
138
145
< a href ="# " class ="btn btn--small "> Add to cart</ a >
139
146
</ div >
140
147
</ div >
@@ -166,7 +173,6 @@ <h3>The Chair 4/2</h3>
166
173
</ figure >
167
174
</ div >
168
175
</ section >
169
-
170
176
< footer >
171
177
Copyright © 2027 by Jonas Schmedtmann. Part of "Build
172
178
Responsive Real-World Websites with HTML and CSS" online course.
Original file line number Diff line number Diff line change @@ -6,10 +6,15 @@ FONT SIZE SYSTEM (px)
6
6
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
7
7
*/
8
8
9
+
9
10
/* Main Color: #087f5b
10
11
Grey Color: #343a40
11
12
12
13
*/
14
+ : root {
15
+ --MainColor : # 087f5b ;
16
+ --SecondaryColor : # 343a40 ;
17
+ }
13
18
14
19
* {
15
20
margin : 0 ;
@@ -21,10 +26,12 @@ FONT SIZE SYSTEM (px)
21
26
/* GENERAL STYLES */
22
27
/* ------------------------ */
23
28
body {
29
+
24
30
/* font-family: sans-serif; */
25
- font-family : 'Poppins' , sans-serif;
26
- color : # 343a40 ;
27
- border-bottom : 5px solid # 087f5b ;
31
+
32
+ font-family : 'Poppins' sans-serif;
33
+ color : var (--SecondaryColor );
34
+ border-bottom : 8px solid var (--MainColor );
28
35
}
29
36
30
37
.container {
47
54
display : grid;
48
55
grid-template-columns : repeat (3 , 1fr );
49
56
column-gap : 80px ;
57
+
50
58
}
51
59
52
60
.btn : link ,
You can’t perform that action at this time.
0 commit comments