forked from M3-Academy/challenge-landing-page
feat(home): Adiciona banner principal desktop e mobile #2
@ -0,0 +1,32 @@
|
|||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-header {
|
||||||
|
display: flex;
|
||||||
|
padding: 28px 0;
|
||||||
|
justify-content: center;
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-logo {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-banner {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1023px) {
|
||||||
|
.main-banner-desktop {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 1024px) {
|
||||||
|
.main-banner-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
9
assets/imagens/Logo-M3Academy 1.svg
Normal file
9
assets/imagens/Logo-M3Academy 1.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 19 KiB |
BIN
assets/imagens/main-banner-desktop.png
Normal file
BIN
assets/imagens/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/imagens/main-banner-mobile.png
Normal file
BIN
assets/imagens/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 333 KiB |
14
index.html
14
index.html
@ -10,7 +10,19 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<header class="page-header">
|
||||||
|
<a href="/">
|
||||||
|
<img class="header-logo" src="./assets/imagens/Logo-M3Academy 1.svg" alt="Logo M3 Academy" />
|
||||||
|
</a>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
<figure>
|
||||||
|
<img class="main-banner main-banner-desktop" src="./assets/imagens/main-banner-desktop.png"
|
||||||
|
alt="Banner principal desktop">
|
||||||
|
<img class="main-banner main-banner-mobile" src="./assets/imagens/main-banner-mobile.png"
|
||||||
|
alt="Banner principal mobile">
|
||||||
|
</figure>
|
||||||
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user