Skip to content

Commit b7e9c47

Browse files
committed
added: case & energy
1 parent 0b02484 commit b7e9c47

File tree

2 files changed

+77
-8
lines changed

2 files changed

+77
-8
lines changed

css/styles.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,30 @@ body {
184184
.composition__inner-text p {
185185
width: 230px;
186186
}
187+
188+
.case {
189+
background-color: #fafafa;
190+
padding: 80px 0 100px;
191+
text-align: center;
192+
}
193+
194+
.case__text {
195+
max-width: 825px;
196+
margin: 0 auto 40px;
197+
}
198+
199+
.energy__title {
200+
padding-top: 160px;
201+
margin-bottom: 40px;
202+
}
203+
204+
.energy__num {
205+
font-size: 210px;
206+
font-weight: 700;
207+
margin-bottom: 40px;
208+
}
209+
210+
.energy__text {
211+
max-width: 400px;
212+
margin: 0 auto;
213+
}

index.html

Lines changed: 50 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,23 +163,65 @@ <h2 class="composition__title main__title">
163163
alt="apple airpods max side blue" />
164164
<!-- <img
165165
class=""
166-
src="./images/airpods-max-side-blue.jpg"
167-
alt="apple airpods max side blue" />
166+
src="./images/airpods-max-side-red.jpg"
167+
alt="apple airpods max side red" />
168168
<img
169169
class=""
170-
src="./images/airpods-max-side-blue.jpg"
171-
alt="apple airpods max side blue" />
170+
src="./images/airpods-max-side-white.jpg"
171+
alt="apple airpods max side white" />
172172
<img
173173
class=""
174-
src="./images/airpods-max-side-blue.jpg"
175-
alt="apple airpods max side blue" />
174+
src="./images/airpods-max-side-green.jpg"
175+
alt="apple airpods max side green" />
176176
<img
177177
class=""
178-
src="./images/airpods-max-side-blue.jpg"
179-
alt="apple airpods max side blue" /> -->
178+
src="./images/airpods-max-side-black.jpg"
179+
alt="apple airpods max side black" /> -->
180180
</div>
181181
</div>
182182
</section>
183+
<section class="case">
184+
<div class="container">
185+
<h2 class="main__title case__title">
186+
It even preserves the battery.
187+
</h2>
188+
<p class="case__text">
189+
When stored in the sleek and lightweight
190+
<span>Smart Case</span>, AirPods Max enter a low-power state
191+
to save energy.
192+
</p>
193+
<img
194+
src="./images/airpods-max-case-blue.jpg"
195+
alt="apple airpods max case blue"
196+
class="" />
197+
<!-- <img
198+
src="./images/airpods-max-case-red.jpg"
199+
alt="apple airpods max case red"
200+
class="" />
201+
<img
202+
src="./images/airpods-max-case-green.jpg"
203+
alt="apple airpods max case green"
204+
class="" />
205+
<img
206+
src="./images/airpods-max-case-white.jpg"
207+
alt="apple airpods max case white"
208+
class="" />
209+
<img
210+
src="./images/airpods-max-case-black.jpg"
211+
alt="apple airpods max case black"
212+
class="" /> -->
213+
<h2 class="main__title energy__title">
214+
Stayin' alive, stayin' alive.
215+
</h2>
216+
<p class="energy__num">20</p>
217+
<p class="energy__text">
218+
hours of music, movies and calls with Active Noise
219+
Cancellation and Custom Spatial Audio turned on. 5 And just
220+
5 minutes of charging via the Lightning connector gives you
221+
an hour and a half of sound. 6
222+
</p>
223+
</div>
224+
</section>
183225
</main>
184226
<script src="./js/main.js"></script>
185227
</body>

0 commit comments

Comments
 (0)