forked from M3-Academy/challenge-landing-page
feat(figure): adicionando os banners pricipais em desktop e mobile
feat(style): aplicando responsividade aos banners
This commit is contained in:
parent
3b31cf1643
commit
0298252591
@ -1,6 +1,28 @@
|
||||
|
||||
.Page-Header{display: flex;
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.Page-Header{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 28px 0;
|
||||
padding: 30px 0;
|
||||
background: #000000;
|
||||
}
|
||||
.main-banner{
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
.Header-Logo{
|
||||
display: block;
|
||||
}
|
||||
@media screen and (max-width: 1023px) {
|
||||
.MainBannerDesktop{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1024px) {
|
||||
.MainBannerMobile{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
BIN
assets/Image/Top-banner-desktop.png
Normal file
BIN
assets/Image/Top-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/Image/Top-banner-mobile.png
Normal file
BIN
assets/Image/Top-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 341 KiB |
45
index.html
45
index.html
@ -1,28 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<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="/challenge-landing-page-Gustavo_Rallenson/assets/Css/Styles.css">
|
||||
<title>Desafio Landing page</title>
|
||||
</head>
|
||||
<body>
|
||||
<header class="Page-Header">
|
||||
<a href="#Page-Header">
|
||||
<img class="Header-Logo" src="/challenge-landing-page-Gustavo_Rallenson/assets/Image/Logo-M3Academy 1.svg" alt="Logo M3">
|
||||
</a>
|
||||
</header>
|
||||
<main>
|
||||
<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="/challenge-landing-page-Gustavo_Rallenson/assets/Css/Styles.css">
|
||||
<title>Desafio Landing page</title>
|
||||
</head>
|
||||
<body>
|
||||
<header class="Page-Header">
|
||||
<a href="/challenge-landing-page-Gustavo_Rallenson/index.html">
|
||||
<img class="Header-Logo" src="/challenge-landing-page-Gustavo_Rallenson/assets/Image/Logo-M3Academy 1.svg" alt="Logo M3">
|
||||
</a>
|
||||
</header>
|
||||
<main>
|
||||
<figure>
|
||||
<img class="main-banner MainBannerDesktop" src="/challenge-landing-page-Gustavo_Rallenson/assets/Image/Top-banner-desktop.png" alt="Banner Principal desktop"/>
|
||||
<img class="main-banner MainBannerMobile"" src="/challenge-landing-page-Gustavo_Rallenson/assets/Image/Top-banner-mobile.png" alt="Banner Principal mobile"/>
|
||||
</figure>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
<footer>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</main>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user