Skip to content

Commit 2024c17

Browse files
committed
started stuff
1 parent 0319e4e commit 2024c17

File tree

2 files changed

+63
-11
lines changed

2 files changed

+63
-11
lines changed

projectfolder/Design/index.html

Lines changed: 58 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
content="width=device-width, initial-scale=1.0"
99
/>
1010

11-
1211
<link rel="stylesheet" href="style.css" />
1312
<link rel="preconnect" href="https://fonts.googleapis.com" />
1413
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
@@ -38,6 +37,20 @@ <h1>We design and build better chairs, for a better life</h1>
3837
<h2>What makes our chairs special</h2>
3938
<div class="grid-3-cols">
4039
<div>
40+
<svg
41+
xmlns="http://www.w3.org/2000/svg"
42+
class="features-icon"
43+
fill="none"
44+
viewBox="0 0 24 24"
45+
stroke="currentColor"
46+
stroke-width="2"
47+
>
48+
<path
49+
stroke-linecap="round"
50+
stroke-linejoin="round"
51+
d="M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"
52+
/>
53+
</svg>
4154
<p class="features-title">
4255
<strong>Science meets design</strong>
4356
</p>
@@ -48,6 +61,20 @@ <h2>What makes our chairs special</h2>
4861
</div>
4962

5063
<div>
64+
<svg
65+
xmlns="http://www.w3.org/2000/svg"
66+
class="features-icon"
67+
fill="none"
68+
viewBox="0 0 24 24"
69+
stroke="currentColor"
70+
stroke-width="2"
71+
>
72+
<path
73+
stroke-linecap="round"
74+
stroke-linejoin="round"
75+
d="M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
76+
/>
77+
</svg>
5178
<p class="features-title">
5279
<strong>Maximal comfort</strong>
5380
</p>
@@ -58,6 +85,20 @@ <h2>What makes our chairs special</h2>
5885
</div>
5986

6087
<div>
88+
<svg
89+
xmlns="http://www.w3.org/2000/svg"
90+
class="features-icon"
91+
fill="none"
92+
viewBox="0 0 24 24"
93+
stroke="currentColor"
94+
stroke-width="2"
95+
>
96+
<path
97+
stroke-linecap="round"
98+
stroke-linejoin="round"
99+
d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"
100+
/>
101+
</svg>
61102
<p class="features-title">
62103
<strong>Ethical and sustainable</strong>
63104
</p>
@@ -96,6 +137,20 @@ <h2>Our bestselling chairs</h2>
96137
<h3>The Laid Back</h3>
97138
<ul class="chair-details">
98139
<li>
140+
<svg
141+
xmlns="http://www.w3.org/2000/svg"
142+
class="features-icon"
143+
fill="none"
144+
viewBox="0 0 24 24"
145+
stroke="currentColor"
146+
stroke-width="2"
147+
>
148+
<path
149+
stroke-linecap="round"
150+
stroke-linejoin="round"
151+
d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"
152+
/>
153+
</svg>
99154
<!-- Span is a generic INLINE text element, it doesn't have any meaning. It's like a div element, but inline -->
100155
<span>Leisure and relaxing</span>
101156
</li>
@@ -111,11 +166,7 @@ <h3>The Laid Back</h3>
111166
</ul>
112167
<div class="chair-price">
113168
<strong>250€</strong>
114-
<span>Weighs 22 kg</span>
115-
</li>
116-
</ul>
117-
<div class="chair-price">
118-
<strong>525€</strong>
169+
119170
<a href="#" class="btn btn--small">Add to cart</a>
120171
</div>
121172
</div>
@@ -141,7 +192,7 @@ <h3>The Worker Bee</h3>
141192
</ul>
142193
<div class="chair-price">
143194
<strong>525€</strong>
144-
195+
145196
<a href="#" class="btn btn--small">Add to cart</a>
146197
</div>
147198
</div>

projectfolder/Design/style.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ FONT SIZE SYSTEM (px)
66
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
77
*/
88

9-
109
/* Main Color: #087f5b
1110
Grey Color: #343a40
1211
@@ -26,9 +25,8 @@ FONT SIZE SYSTEM (px)
2625
/* GENERAL STYLES */
2726
/* ------------------------ */
2827
body {
29-
3028
/* font-family: sans-serif; */
31-
29+
3230
font-family: 'Poppins' sans-serif;
3331
color: var(--SecondaryColor);
3432
border-bottom: 8px solid var(--MainColor);
@@ -54,7 +52,6 @@ h2 {
5452
display: grid;
5553
grid-template-columns: repeat(3, 1fr);
5654
column-gap: 80px;
57-
5855
}
5956

6057
.btn:link,
@@ -120,6 +117,10 @@ img {
120117

121118
/* FEATURES */
122119
.features-icon {
120+
stroke: var(--MainColor);
121+
width: 32px;
122+
height: 32px;
123+
margin-bottom: 16px;
123124
}
124125

125126
.features-title {

0 commit comments

Comments
 (0)