feat(home): cria banner principal desktop e mobile
This commit is contained in:
parent
dfe2c3f00a
commit
f455bdc1e7
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
assets/img/png_jpg/main-banner-desktop.png
Normal file
BIN
assets/img/png_jpg/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/img/png_jpg/main-banner-mobile.png
Normal file
BIN
assets/img/png_jpg/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 338 KiB |
@ -14,4 +14,20 @@
|
||||
|
||||
.header-logo {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -12,9 +12,16 @@
|
||||
<body>
|
||||
<header class="page-header">
|
||||
<a href="/">
|
||||
<img class="header-logo" src="./assets/img/png_jpg/Logo M3 [branco] (4) 1.png" alt="Logo M3">
|
||||
<img class="header-logo" src="./assets/img/png_jpg/m3-logo.png" alt="Logo M3">
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div >
|
||||
<img class="main-banner main-banner-desktop" src="./assets/img/png_jpg/main-banner-desktop.png" alt="Banner Principal Desktop">
|
||||
<img class="main-banner main-banner-mobile" src="./assets/img/png_jpg/main-banner-mobile.png" alt="Banner Principal Mobile">
|
||||
</div>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user