forked from M3-Academy/challenge-landing-page
feat(home): Adiciona banner principal mobile
This commit is contained in:
parent
758a7af924
commit
b9f1bfcc59
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
BIN
assets/images/banner-principal-mobile.png
Normal file
BIN
assets/images/banner-principal-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 KiB |
@ -5,8 +5,9 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
/*Definindo escopos*/
|
/*Definindo escopos*/
|
||||||
|
.page-banner-principal-mobile,
|
||||||
.page-logo,
|
.page-logo,
|
||||||
.page-banner-principal{
|
.page-banner-principal-desktop{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
/*Estilo menu/header*/
|
/*Estilo menu/header*/
|
||||||
@ -22,4 +23,19 @@
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*Banner mobile*/
|
||||||
|
|
||||||
|
.page-banner-principal-mobile{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media screen and (max-width: 1024px){
|
||||||
|
.page-banner-principal-mobile{
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-banner-principal-desktop{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
@ -17,9 +17,12 @@
|
|||||||
<a href="/"><img class="logo-m3academy" src="./assets/svgs/logo-m3academy.svg" alt="Logo M3 Academy"></a>
|
<a href="/"><img class="logo-m3academy" src="./assets/svgs/logo-m3academy.svg" alt="Logo M3 Academy"></a>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<!--Banner Principal-->
|
<!--Banner Principal desktop e mobile-->
|
||||||
<div>
|
<div>
|
||||||
<figure><img class="page-banner-principal" src="./assets/images/banner-principal.png" alt="Banner Principal"></figure>
|
<figure>
|
||||||
|
<img class="page-banner-principal-desktop" src="./assets/images/banner-principal-desktop.png" alt="Banner Principal Desktop">
|
||||||
|
<img class="page-banner-principal-mobile" src="./assets/images/banner-principal-mobile.png" alt="Banner Principal Mobile">
|
||||||
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user