Adiciona imagens primárias responsivas desktop e mobile

This commit is contained in:
Joseildo Lima da Silva 2022-10-08 13:05:37 -03:00
parent f4c9c6bf6c
commit 97db60c9b4
5 changed files with 62 additions and 0 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

View File

@ -10,6 +10,22 @@
</head> </head>
<body> <body>
<header class="header_landing">
<a href="/">
<picture>
<img class="logo_m3" src="./assets/img/Logo-M3Academy 1.svg" alt="LogoM3Academy">
</picture>
</a>
</header>
<div>
<picture>
<img class="primary_banner" src="./assets/img/image_principal.png" alt="banner primário">
</picture>
<picture>
<img class="banner_mobile" src="./assets/img/mobile_image_primary.png" alt="image mobile">
</picture>
</div>
</body> </body>

View File

@ -0,0 +1,37 @@
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.header_landing {
background-color: #000;
display: flex;
justify-content: center;
}
.logo_m3 {
margin: 28px 0;
}
.primary_banner {
width: 100%;
}
@media screen and (max-width: 413px) {
.primary_banner {
display: none;
}
.banner_mobile {
width: 100%;
max-width: 414px;
}
}
@media screen and (min-width:414px) {
.banner_mobile {
display: none;
}
}