Adiciona banners principais desktop e mobile
This commit is contained in:
parent
ac868c95f2
commit
6c1e8984db
@ -21,8 +21,24 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 392px) {
|
||||
.header-logo {
|
||||
width: 180px
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
11
index.html
11
index.html
@ -17,10 +17,19 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Header da landing page M3 Academy -->
|
||||
<header class="page-header">
|
||||
<a href="/">
|
||||
<img class="header-logo" src="./assets/images/m3-academy-logo.svg" alt="Logo M3 m3-academy-logo" />
|
||||
</a>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
<!-- Banner principal -->
|
||||
<div>
|
||||
<figure class="main-banner">
|
||||
<img class="main-banner main-banner-desktop" src="./assets/images/main-banner-desktop.png" alt="Banner principal" />
|
||||
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png" alt="Banner principal" />
|
||||
</figure>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user