Cria o main banner desktop e mobile

This commit is contained in:
José Gregorio Mata Rodríguez 2022-10-10 01:03:03 -03:00
parent 69d92e879b
commit 481a4afaa3
4 changed files with 29 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

View File

@ -13,4 +13,20 @@
.header-logo {
display: block;
}
.main-banner {
width: 100%;
}
@media screen and (width < 415px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (width >= 415px) {
.main-banner-mobile {
display: none;
}
}

View File

@ -2,18 +2,31 @@
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./assets/styles/main.css" />
<title>M3 Landing-Page</title>
</head>
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="./assets/images/logo-m3.png" alt="Logo M3" />
</a>
</header>
<main>
<section>
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop" />
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner Principal Mobile" />
</section>
</main>
</body>
</html>