forked from M3-Academy/practice-time-landing-page
adicionando banner principal desktop e mobile e logo display block
This commit is contained in:
parent
57658b91f3
commit
dcec51fbf6
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
BIN
assents/imagens/banner-mobile.png
Normal file
BIN
assents/imagens/banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 333 KiB |
@ -16,9 +16,12 @@
|
||||
<img class="header-logo" src="/assents/imagens/Logo M3 [branco] (4) 1.png" alt="logo da M3 Branco"/>
|
||||
</a>
|
||||
</header>
|
||||
<main>
|
||||
|
||||
</main>
|
||||
<main>
|
||||
<section>
|
||||
<img class="main-banner main-banner-desktop" src="assents/imagens/banner-desktop.png" alt="Banner Principal">
|
||||
<img class="main-banner main-banner-mobile" src="assents/imagens/banner-mobile.png" alt="Banner Principal">
|
||||
</section>
|
||||
</main>
|
||||
|
||||
|
||||
</body>
|
||||
|
@ -5,10 +5,35 @@
|
||||
|
||||
|
||||
}
|
||||
|
||||
/*///////////// HEADER /////////////////// */
|
||||
.page-header {
|
||||
background: #000000;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 28px 0;
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*///////////// SECTION 01 + @media desktop e mobile /////////////////// */
|
||||
|
||||
.main-banner {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px){
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px ) {
|
||||
.main-banner-mobile{
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user