Adiciona os banners principais desktop e mobile
This commit is contained in:
parent
c8161c54c6
commit
8d5d1f99ad
@ -17,3 +17,19 @@
|
|||||||
.header-logo{
|
.header-logo{
|
||||||
display: block;
|
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;
|
||||||
|
}
|
||||||
|
}
|
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 |
11
index.html
11
index.html
@ -14,8 +14,17 @@
|
|||||||
<body>
|
<body>
|
||||||
<header class="header-page">
|
<header class="header-page">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img class="header-logo" src="./assets/images/Logo M3.svg" alt="Logo M3">
|
<img class="header-logo" src="./assets/images/logo M3.svg" alt="Logo M3">
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<div>
|
||||||
|
<figure>
|
||||||
|
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner computador" />
|
||||||
|
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner computador" />
|
||||||
|
</figure>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user