Adiciona os banners principais mobile e desktop
This commit is contained in:
parent
642aeb6056
commit
93b1f81f98
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
BIN
assets/images/main-banner-desktop.png
Normal file
BIN
assets/images/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/images/main-banner-mobile.png
Normal file
BIN
assets/images/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 KiB |
@ -11,6 +11,24 @@
|
|||||||
padding: 28px 0 28px 0;
|
padding: 28px 0 28px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-header-image{
|
.page-header-logo{
|
||||||
display: block;
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-banner{
|
||||||
|
display: block;
|
||||||
|
object-fit: cover;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 414px){
|
||||||
|
.main-banner-desktop{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 415px){
|
||||||
|
.main-banner-mobile{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
@ -14,8 +14,15 @@
|
|||||||
<body>
|
<body>
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<img class="page-header-logo" src="./assets/images/logo_m3_branco.svg" alt="Imagem Logo M3">
|
<img class="page-header-logo" src="./assets/images/logo-m3-branco.svg" alt="Logo M3"/>
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<section>
|
||||||
|
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop"/>
|
||||||
|
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner Principal Mobile"/>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user