Adiciona o banner do meio desktop e mobile

This commit is contained in:
Manuela Luana Schumacker Tavares 2022-10-07 17:19:28 -03:00
parent 92c7d09a2c
commit c5352704ac
4 changed files with 12 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 946 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

View File

@ -20,8 +20,10 @@ body{
display: block; display: block;
} }
.main-banner{ .main-banner,
.middle-banner{
width: 100%; width: 100%;
display: block;
} }
.top-infocard{ .top-infocard{
@ -85,7 +87,8 @@ body{
} }
@media screen and (max-width: 414px){ @media screen and (max-width: 414px){
.main-banner-desktop{ .main-banner-desktop,
.middle-banner-desktop{
display: none; display: none;
} }
} }
@ -135,7 +138,8 @@ body{
} }
@media screen and (min-width: 415px){ @media screen and (min-width: 415px){
.main-banner-mobile{ .main-banner-mobile,
.middle-banner-mobile{
display: none; display: none;
} }
} }

View File

@ -59,6 +59,11 @@
<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="middle-banner middle-banner-desktop" src="./assets/images/middle-banner-desktop.png" alt="Banner do Meio Desktop"/>
<img class="middle-banner middle-banner-mobile" src="./assets/images/middle-banner-mobile.png" alt="Banner do Meio Mobile"/>
</section>
</main> </main>
</body> </body>
</html> </html>