feat: adiciona banner desktop e mobile
This commit is contained in:
parent
0303f189f8
commit
63178a0a7e
9
assets/images/banner-desktop.svg
Normal file
9
assets/images/banner-desktop.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 1.1 MiB |
9
assets/images/banner-mobile.svg
Normal file
9
assets/images/banner-mobile.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 1.1 MiB |
@ -12,3 +12,33 @@ header {
|
|||||||
height: 100px;
|
height: 100px;
|
||||||
background: #000000;
|
background: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.banner-desktop {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.banner-desktop figure img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.banner-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 414px) {
|
||||||
|
.banner-desktop {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.banner-mobile {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.banner-mobile figure img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
16
index.html
16
index.html
@ -18,5 +18,21 @@
|
|||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
<div class="banner-desktop">
|
||||||
|
<figure>
|
||||||
|
<img
|
||||||
|
src="./assets/images/banner-desktop.svg"
|
||||||
|
alt="Banner da landing page"
|
||||||
|
/>
|
||||||
|
</figure>
|
||||||
|
</div>
|
||||||
|
<div class="banner-mobile">
|
||||||
|
<figure>
|
||||||
|
<img
|
||||||
|
src="./assets/images/banner-mobile.svg"
|
||||||
|
alt="Banner da landing page"
|
||||||
|
/>
|
||||||
|
</figure>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user