feat(main): Adiciona banners principais desktop e mobile
This commit is contained in:
parent
b25983e1da
commit
6ca582de8c
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: 331 KiB |
@ -29,6 +29,17 @@ a {
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
/* MAIN BANNER */
|
||||
|
||||
.main-banner {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* MOBILE */
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
@ -38,4 +49,13 @@ a {
|
||||
|
||||
.logo {
|
||||
width: 99%;
|
||||
}
|
||||
}
|
||||
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-banner-mobile {
|
||||
display: block;
|
||||
}
|
||||
}
|
12
index.html
12
index.html
@ -22,5 +22,17 @@
|
||||
<img class="logo" src="./assets/images/logo-m3academy.svg" alt="Logo M3 Academy"/>
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div>
|
||||
<figure>
|
||||
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop"/>
|
||||
</figure>
|
||||
|
||||
<figure>
|
||||
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner Principal Mobile"/>
|
||||
</figure>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user