forked from M3-Academy/practice-time-landing-page
Upando main banner desktop e mobile
This commit is contained in:
parent
628d1555ad
commit
82ae491d3d
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 |
BIN
assets/images/main-banner.png
Normal file
BIN
assets/images/main-banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
@ -15,7 +15,37 @@
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-logo{
|
.header-logo{
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-banner-desktop{
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
@media screen and (max-width: 414px) {
|
||||||
|
.main-banner-desktop{
|
||||||
|
display: none;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-banner-mobile{
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media screen and (min-width: 415px) {
|
||||||
|
.main-banner-mobile{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
@ -12,8 +12,15 @@
|
|||||||
<a href="/">
|
<a href="/">
|
||||||
<img class="header-logo" src="assets/images/m3-logo.png" alt="m3 logo"/>
|
<img class="header-logo" src="assets/images/m3-logo.png" alt="m3 logo"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
<main>
|
||||||
|
<div>
|
||||||
|
<img class="main-banner-desktop" src="assets/images/main-banner.png" alt="main-banner">
|
||||||
|
<img class="main-banner-mobile" src="assets/images/main-banner-mobile.png" alt="main-banner-mobile">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user