forked from M3-Academy/practice-time-landing-page
feat(home): adiciona os banners desktop e mobile
This commit is contained in:
parent
16d3c4d9c8
commit
90ac375a66
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 |
@ -15,3 +15,19 @@
|
|||||||
.header-logo{
|
.header-logo{
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-banner{
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@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,11 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
<main>
|
||||||
|
<section>
|
||||||
|
<img class="main-banner main-banner-desktop" src="./assets/images/Main-banner-desktop.png" alt="Main-banner-desktop"/>
|
||||||
|
<img class="main-banner main-banner-mobile" src="./assets/images/Main-banner-mobile.png" alt="Main-banner-mobile"/>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user