Adiciona banner do meio desktop e mobile

This commit is contained in:
Vitor Soares 2022-10-10 07:38:32 -03:00
parent 183ac11346
commit 80cb2d1d6a
4 changed files with 16 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 947 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

View File

@ -23,19 +23,23 @@ body {
display: block; display: block;
} }
/* Adiciona banner princial */ /* Adiciona banner princial / Adiciona banner do meio */
.main-banner { .main-banner,
.middle-banner {
display: block;
width: 100%; width: 100%;
} }
@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;
} }
} }
@media screen and (min-width: 414px) { @media screen and (min-width: 414px) {
.main-banner-mobile { .main-banner-mobile,
.middle-banner-mobile {
display: none; display: none;
} }
} }

View File

@ -68,6 +68,14 @@
</p> </p>
</div> </div>
</section> </section>
<!--Adiciona banner do meio-->
<div>
<figure>
<img class="middle-banner middle-banner-desktop" src="assets/imagens/middle-banner-desktop.png" alt="Banner do Meio Desktop" />
<img class="middle-banner middle-banner-mobile" src="assets/imagens/middle-banner-mobile.png" alt="Banner do Meio Mobile" />
</figure>
</div>
</main> </main>
</body> </body>
</html> </html>