forked from M3-Academy/practice-time-landing-page
feat(main): Adicionado as imagens mobile e desktop
This commit is contained in:
parent
78a764026b
commit
9407419e59
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 331 KiB After Width: | Height: | Size: 331 KiB |
@ -17,3 +17,16 @@ html, body{
|
||||
.imgLogoM3{
|
||||
display: block;
|
||||
}
|
||||
.main-banner{
|
||||
width: 100%;
|
||||
}
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile{
|
||||
display: none;
|
||||
}
|
||||
}
|
11
index.html
11
index.html
@ -15,5 +15,16 @@
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<img class="main-banner main-banner-desktop" src="./assets/images/img-notebook-desktop.png" alt="imagem notebook principal">
|
||||
<img class="main-banner main-banner-mobile" src="./assets/images/img-notebook-mobile.png" alt="imagem notebook principal">
|
||||
</section>
|
||||
|
||||
<section>
|
||||
|
||||
</section>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user