Skip to content

Commit 13ebdee

Browse files
committed
Adding about section
1 parent 83895e3 commit 13ebdee

File tree

2 files changed

+105
-0
lines changed

2 files changed

+105
-0
lines changed

assets/css/style.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@ body {
265265
font-weight: var(--fw-700);
266266
}
267267

268+
.w-100 {
269+
width: 100%;
270+
}
271+
268272
/*-----------------------------------*\
269273
#HEADER
270274
\*-----------------------------------*/
@@ -428,6 +432,47 @@ body {
428432
#ABOUT
429433
\*-----------------------------------*/
430434

435+
.about {
436+
background-color: var(--space-cadet);
437+
color: var(--white);
438+
text-align: center;
439+
}
440+
441+
.about .container {
442+
display: grid;
443+
gap: 50px;
444+
}
445+
446+
.about .section-title {
447+
color: var(--white);
448+
}
449+
450+
.about .section-text:nth-child(3) {
451+
margin-block: 12px 8px;
452+
}
453+
454+
.about-list {
455+
display: grid;
456+
gap: 25px;
457+
margin-block-start: 25px;
458+
}
459+
460+
.about-item {
461+
background-color: var(--oxford-blue-2);
462+
padding: 40px 20px;
463+
transition: var(--transition);
464+
}
465+
466+
.about-item:hover {
467+
background-color: var(--international-orange-engineering);
468+
transform: translateY(-8px);
469+
}
470+
471+
.about-item .strong {
472+
display: block;
473+
line-height: 1.1;
474+
}
475+
431476
/*-----------------------------------*\
432477
#WORK
433478
\*-----------------------------------*/

index.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,66 @@ <h3 class="h3 card-title">Steering Repair</h3>
270270
</a>
271271
</div>
272272
</section>
273+
274+
<!-- #ABOUT -->
275+
276+
<section class="section about has-before" aria-labelledby="about-label">
277+
<div class="container">
278+
<figure class="about-banner">
279+
<img
280+
src="./assets/images/about-banner.png"
281+
width="540"
282+
height="540"
283+
loading="lazy"
284+
alt="vehicle repair equipments"
285+
class="w-100"
286+
/>
287+
</figure>
288+
289+
<div class="about-content">
290+
<p class="section-subtitle :dark">About Us</p>
291+
<h2 class="h2 section-title">
292+
We’re Commited to Meet the quality
293+
</h2>
294+
<p class="section-text">
295+
Quis autem vel eum iure reprehenderit qui in ea volu velit esse
296+
quam nihil molestiae consequatur, vel illum eui dolorem eum
297+
fugiat ruo.
298+
</p>
299+
300+
<p class="section-text">
301+
Reprehenderit qui in ea volu velit esse quam nihil moe stiae
302+
consequatur, vel illum eui.
303+
</p>
304+
305+
<ul class="about-list">
306+
<li class="about-item">
307+
<p>
308+
<strong class="display-1 strong">8K+</strong> Happy Clients
309+
</p>
310+
</li>
311+
<li class="about-item">
312+
<p>
313+
<strong class="display-1 strong">22+</strong>
314+
Instruments
315+
</p>
316+
</li>
317+
<li class="about-item">
318+
<p>
319+
<strong class="display-1 strong">50+</strong>
320+
Years in market
321+
</p>
322+
</li>
323+
<li class="about-item">
324+
<p>
325+
<strong class="display-1 strong">99%</strong>
326+
Projects completed
327+
</p>
328+
</li>
329+
</ul>
330+
</div>
331+
</div>
332+
</section>
273333
</article>
274334
</main>
275335
<!-- custom js link -->

0 commit comments

Comments
 (0)