cria banner principal
This commit is contained in:
parent
e631748e30
commit
b6633cb18b
13
index.html
13
index.html
@ -9,13 +9,20 @@
|
||||
</head>
|
||||
<body>
|
||||
<header class="page-header">
|
||||
<figure class="figure-logo">
|
||||
<figure >
|
||||
<a href="/"
|
||||
><img src="./src/img/Logo-M3Academy 1.svg" alt="Logo M3Academy"
|
||||
><img src="./src/img/Logo-M3Academy 1.svg" alt="Logo M3Academy"
|
||||
/></a>
|
||||
</figure>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="banner-principal-container">
|
||||
<figure>
|
||||
<img class="descktop-banner" src="/src/img/main-banner-descktop.png" alt="">
|
||||
<img class="mobile-banner" src="/src/img/main-banner-mobile.png" alt="">
|
||||
</figure>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
BIN
src/img/main-banner-mobile.png
Normal file
BIN
src/img/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 KiB |
@ -3,15 +3,43 @@
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* header-logo */
|
||||
.page-header {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
justify-items: center;
|
||||
padding: 29px 0;
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
.figure-logo {
|
||||
display: block;
|
||||
|
||||
/* */
|
||||
/* Banner-principal */
|
||||
|
||||
.banner-principal-container,
|
||||
.mobile-banner img,
|
||||
.descktop-banner img,
|
||||
.descktop-banner,
|
||||
.mobile-banner {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.descktop-banner {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1025px) {
|
||||
.mobile-banner {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user