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

@ -14,3 +14,19 @@
.header-logo { .header-logo {
display: block; 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"> <html lang="pt-br">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./assets/styles/main.css" /> <link rel="stylesheet" href="./assets/styles/main.css" />
<title>M3 Landing-Page</title> <title>M3 Landing-Page</title>
</head> </head>
<body> <body>
<header class="page-header"> <header class="page-header">
<a href="/"> <a href="/">
<img class="header-logo" src="./assets/images/logo-m3.png" alt="Logo M3" /> <img class="header-logo" src="./assets/images/logo-m3.png" alt="Logo M3" />
</a> </a>
</header> </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> </body>
</html> </html>