feat(top): middle-image

This commit is contained in:
Gabriel Ferraz Nogueira 2022-10-07 20:45:13 -03:00
parent 46c3ce54ab
commit 1bd21ab0c3
4 changed files with 13 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 946 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

View File

@ -19,8 +19,10 @@ body{
display: block; display: block;
} }
.main-banner{ .main-banner ,
.middler-banner{
max-width: 100%; max-width: 100%;
display: block;
} }
.top-infocard{ .top-infocard{
display: flex; display: flex;
@ -76,7 +78,8 @@ body{
} }
@media screen and (max-width: 414px) { @media screen and (max-width: 414px) {
.main-banner-desktop{ .main-banner-desktop,
.middler-banner-desktop{
display: none; display: none;
} }
} }
@ -125,12 +128,14 @@ body{
} }
@media screen and (min-width: 415px) { @media screen and (min-width: 415px) {
.main-banner-mobile{ .main-banner-mobile,
.middler-banner-mobile{
display: none; display: none;
} }
} }
@media screen and (min-width: 1920px) { @media screen and (min-width: 1920px) {
.main-banner-desktop { .main-banner-desktop,
.middler-banner-desktop {
width: 100%; width: 100%;
object-fit: contain; object-fit: contain;
} }

View File

@ -59,6 +59,10 @@
<p class="top-card-description"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p> <p class="top-card-description"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
</div> </div>
</section> </section>
<section>
<img class="middler-banner middler-banner-desktop" src="./assets/images/middle-banner-desktop.png" alt="middler-banner-desktop"/>
<img class="middler-banner middler-banner-mobile" src="./assets/images/middle-banner-mobile.png" alt="middler-banner-mobile"/>
</section>
</main> </main>
</body> </body>
</html> </html>