forked from M3-Academy/challenge-landing-page
feat: added middle-banner
This commit is contained in:
parent
0944037b7e
commit
e9133f5294
BIN
assets/Rectangle 13.png
Normal file
BIN
assets/Rectangle 13.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 236 KiB |
BIN
assets/Rectangle 16.png
Normal file
BIN
assets/Rectangle 16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 213 KiB |
BIN
assets/Rectangle 17.png
Normal file
BIN
assets/Rectangle 17.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 317 KiB |
@ -59,5 +59,10 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="middle-banner">
|
||||||
|
<img src="./assets/Rectangle 13.png" alt="macbook fechando de frente">
|
||||||
|
<img src="./assets/Rectangle 16.png" alt="macbook fechando de cima">
|
||||||
|
<img src="./assets/Rectangle 17.png" alt="macbook fechando de lado">
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
15
style.css
15
style.css
@ -89,6 +89,21 @@ header{
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.middle-banner{
|
||||||
|
background-color: #E0E0E0;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(3, max-content);
|
||||||
|
gap: 39px;
|
||||||
|
padding: 0 72px;
|
||||||
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.middle-banner img{
|
||||||
|
bottom: -60px;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/* Banner pincipal mobile */
|
/* Banner pincipal mobile */
|
||||||
|
|
||||||
@media screen and (max-width:768px) {
|
@media screen and (max-width:768px) {
|
||||||
|
Loading…
Reference in New Issue
Block a user