Adiciona os banners principais - Desktop e Mobile

Corrige pequenos erros de digitação no código
This commit is contained in:
Sabrina Miranda 2022-10-08 16:09:27 -03:00
parent 88dc162312
commit 45bd0752b4
4 changed files with 31 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

View File

@ -14,3 +14,19 @@
.header-logo {
display: block;
}
.main-banner{
width: 100%;
}
@media screen and (max-width: 1024px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width:1025px) {
.main-banner-mobile {
display: none;
}
}

View File

@ -8,14 +8,25 @@
<title>M3 Landing Page</title>
<link rel="stylesheet" href="assets/styles/main.css"/>
<link rel="stylesheet" href="./assets/styles/main.css"/>
</head>
<body>
<header class="page-header">
<a href="index.html">
<img class="header-logo" src="assets/images/M3-logo.png" alt="Logo M3"/>
<a href="/">
<img class="header-logo" src="./assets/images/M3-logo.png" alt="Logo M3"/>
</a>
</header>
</header>
<main>
<div>
<figure>
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner Principal Desktop"/>
</figure>
<figure>
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner Principal Mobile"/>
</figure>
</div>
</main>
</body>
</html>