forked from M3-Academy/challenge-landing-page
feat(index) Adiciona Banner principal desktop e mobile #2
BIN
assets/main-banner-desktop.png
Normal file
BIN
assets/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/main-banner-mobile.png
Normal file
BIN
assets/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 341 KiB |
@ -25,3 +25,20 @@ body{
|
|||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
.main-banner-mobile{
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1024px){
|
||||||
|
.main-banner-desktop{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 1025px){
|
||||||
|
.main-banner-mobile{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,13 @@
|
|||||||
<img src="./assets/logoM3.svg" alt="" />
|
<img src="./assets/logoM3.svg" alt="" />
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<img src="./assets/main-banner-desktop.png" alt="" class="main-banner-desktop">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<img src="./assets/main-banner-mobile.png" alt="" class="main-banner-mobile">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user