forked from M3-Academy/challenge-landing-page
Merge pull request 'feat(index): Adicionado os 3 banners do meio desktop e mobile' (#5) from feature/mid-banners into development
Reviewed-on: #5
This commit is contained in:
commit
fde2bb1850
BIN
assets/mid-banner-01.png
Normal file
BIN
assets/mid-banner-01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 234 KiB |
BIN
assets/mid-banner-02.png
Normal file
BIN
assets/mid-banner-02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 215 KiB |
BIN
assets/mid-banner-03.png
Normal file
BIN
assets/mid-banner-03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 318 KiB |
@ -96,6 +96,29 @@ body{
|
|||||||
margin: 28px 26px;
|
margin: 28px 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*** MID BANNER ***/
|
||||||
|
|
||||||
|
.mid-banners{
|
||||||
|
background: #E0E0E0;
|
||||||
|
margin-top: 80px;
|
||||||
|
padding: 0 72px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mid-banner-wrapper{
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(3, 30%);
|
||||||
|
gap: 40px;
|
||||||
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
|
bottom: -62px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.mid-banner-image{
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1024px){
|
@media screen and (max-width: 1024px){
|
||||||
/*** MAIN BANNER ***/
|
/*** MAIN BANNER ***/
|
||||||
.main-banner-desktop{
|
.main-banner-desktop{
|
||||||
@ -141,6 +164,23 @@ body{
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*** MID BANNER ***/
|
||||||
|
.mid-banners{
|
||||||
|
padding: 0 24px 0;
|
||||||
|
}
|
||||||
|
.mid-banner-wrapper{
|
||||||
|
width: 100%;
|
||||||
|
grid-template-columns: repeat(2, 45%);
|
||||||
|
gap: 0;
|
||||||
|
column-gap: 14px;
|
||||||
|
row-gap: 24px;
|
||||||
|
bottom: -32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mid-banner-3{
|
||||||
|
grid-area: 2 / 1 /span 2/ span 2;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,3 +191,7 @@ body{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*** 2500 px ***/
|
||||||
|
@media (min-width: 2500px){
|
||||||
|
|
||||||
|
}
|
22
index.html
22
index.html
@ -87,6 +87,28 @@
|
|||||||
</figcaption>
|
</figcaption>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- MID BANNERS -->
|
||||||
|
<div class="mid-banners">
|
||||||
|
|
||||||
|
<!-- WRAPPER -->
|
||||||
|
<div class="mid-banner-wrapper">
|
||||||
|
<!-- MID BANNER 01 -->
|
||||||
|
<figure class="mid-banner-image">
|
||||||
|
<img src="./assets/mid-banner-01.png" alt="Banner do meio - imagem de um notebook" class="mid-banner-image">
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
<!-- MID BANNER 02 -->
|
||||||
|
<figure class="mid-banner-image">
|
||||||
|
<img src="./assets/mid-banner-02.png" alt="Banner do meio - imagem de um notebook" class="mid-banner-image">
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
<!-- MID BANNER 03 -->
|
||||||
|
<figure class="mid-banner-image mid-banner-3">
|
||||||
|
<img src="./assets/mid-banner-03.png" alt="Banner do meio - imagem de um notebook" class="mid-banner-image">
|
||||||
|
</figure>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user