forked from M3-Academy/practice-time-landing-page
feat: added banner section and responsive image
This commit is contained in:
parent
1324ce42ab
commit
ac1a368d7f
@ -66,6 +66,9 @@
|
||||
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
||||
}
|
||||
|
||||
.banner {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*= =*\
|
||||
= COMPOSITION =
|
||||
@ -151,8 +154,6 @@
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.services-container {
|
||||
--hs-flow-space: 26px;
|
||||
}
|
||||
@ -170,6 +171,10 @@
|
||||
.hero-image-mobile {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.banner-image-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -186,4 +191,13 @@
|
||||
width: 315px;
|
||||
height: 315px;
|
||||
}
|
||||
|
||||
.banner-image-desktop {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.banner-image-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
13
index.html
13
index.html
@ -70,6 +70,19 @@
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="banner">
|
||||
<img
|
||||
class="banner-image banner-image-desktop"
|
||||
src="./assets/images/feature-2-desktop.jpg"
|
||||
alt=""
|
||||
/>
|
||||
<img
|
||||
class="banner-image banner-image-mobile"
|
||||
src="./assets/images/feature-2-mobile.jpg"
|
||||
alt=""
|
||||
/>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user