forked from M3-Academy/challenge-landing-page
feat(index) Adiciona Banner principal desktop e mobile
This commit is contained in:
parent
9a5e85ab0a
commit
44b80eb405
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;
|
||||
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="" />
|
||||
</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>
|
||||
|
Loading…
Reference in New Issue
Block a user