Adicionando o banner-top desktop e mobile

This commit is contained in:
Victor Cardoso de Souza 2022-10-09 21:53:48 -03:00
parent 79a1d1f4e1
commit 87381ba555
4 changed files with 22 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

Before

Width:  |  Height:  |  Size: 341 KiB

After

Width:  |  Height:  |  Size: 341 KiB

View File

@ -18,8 +18,8 @@
<main>
<div>
<figure>
<img class="main-banner main banner desktop" src="./assests/banner-top-desktop.png" alt="Banner do topo Desktop">
<img class="main banner main banner mobile" src="./assests/banner-top-mobile.png" alt="Banner do topo Mobile">
<img class="main-banner main-banner-desktop" src="./assests/main-banner-desktop.png" alt="Banner do topo Desktop">
<img class="main-banner main-banner-mobile" src="./assests/main-banner-mobile.png" alt="Banner do topo Mobile">
</figure>
</div>

View File

@ -1,3 +1,5 @@
* {
margin: 0;
padding: 0;
@ -14,4 +16,22 @@
.head-image {
width: 100%;
padding: 28px 0 ;
}
.main-banner {
width: 100%;
display: block;
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width:415px ) {
.main-banner-mobile {
display: none;
}
}