feat: cria banner na versao mobile e desktop

This commit is contained in:
Emmanuel Vitor Pereira de Jesus 2022-10-08 23:54:42 -03:00
parent 17bea6e525
commit fae1c9312e
3 changed files with 23 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

View File

@ -12,13 +12,16 @@
<body>
<header>
<a href="./">
<img src="assets/icons/Logo-M3.svg" alt="Logo-M3" class="logo-header">
<img src="assets/icons/Logo-M3.svg" alt="Logo-M3" class="logo-header" />
</a>
</header>
<main>
<div class="banner-principal">
<div>
<figure>
<img src="assets/bannerPrincipal.png" alt="Computador aberto com codigos de programação">
<img src="assets/bannerPrincipal.png" alt="Computador aberto com codigos de programação"
class="banner-principal banner-principal-desktop" />
<img src="assets/bannerPrincipalMobile.png" alt="Computador aberto com codigos de programação"
class="banner-principal banner-principal-mobile" />
</figure>
</div>
</main>

View File

@ -14,4 +14,21 @@ header {
.logo-header {
display: block;
}
.banner-principal {
width: 100%;
}
@media (max-width:414px) {
.banner-principal-desktop {
display: none;
}
}
@media (min-width:415px) {
.banner-principal-mobile {
display: none;
}
}