feat: added banner section and responsive image

This commit is contained in:
Henrique Santos Santana 2022-10-08 11:25:38 -03:00
parent 1324ce42ab
commit ac1a368d7f
2 changed files with 29 additions and 2 deletions

View File

@ -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;
}
}

View File

@ -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>