forked from M3-Academy/practice-time-landing-page
Adicionei main banner desktop e mobile
This commit is contained in:
parent
b2046bdca1
commit
0cff9bd537
BIN
Assets/Images/main banner desktop.jpg
Normal file
BIN
Assets/Images/main banner desktop.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 825 KiB |
BIN
Assets/Images/main banner mobile.jpg
Normal file
BIN
Assets/Images/main banner mobile.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 230 KiB |
@ -15,3 +15,22 @@
|
||||
.header-logo {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner-mobile {
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.main-banner-desktop {
|
||||
width: 100%;
|
||||
}
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop {
|
||||
display: none
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile {
|
||||
display:none
|
||||
}
|
||||
}
|
@ -16,5 +16,12 @@
|
||||
<img class="header-logo" src="./Assets/Images/Logo M3 [branco] (4) 1.png" alt="Logo M3" />
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<img class="main-banner-desktop" src="./Assets/Images/main banner desktop.jpg" alt="Imagem de um computador de mesa (desktop)" />
|
||||
<img class="main-banner-mobile" src="./Assets/Images/main banner mobile.jpg" alt="Imagem de um computador de mesa (mobile)" />
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user