forked from M3-Academy/challenge-landing-page
feat: Adiciona banner principal desktop e mobile
This commit is contained in:
parent
978b1964dc
commit
268fa8a0cb
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 |
@ -13,4 +13,24 @@
|
||||
|
||||
.header-logo{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner{
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
/* BREAKPOINTS */
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px){
|
||||
.main-banner-mobile{
|
||||
display: none;
|
||||
}
|
||||
}
|
@ -17,5 +17,13 @@
|
||||
</a>
|
||||
</header>
|
||||
|
||||
|
||||
<main>
|
||||
<figure>
|
||||
<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">
|
||||
</figure>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user