Feature: added main-banner desktop-mobile
This commit is contained in:
parent
645589d723
commit
fe395061ff
@ -10,3 +10,21 @@
|
||||
padding: 29px 0;
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
.banner-principal{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.banner-principal-mobile{
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px){
|
||||
.banner-principal-desktop{
|
||||
display: none;
|
||||
}
|
||||
.banner-principal-mobile{
|
||||
display: unset;
|
||||
}
|
||||
}
|
||||
|
||||
|
11
index.html
11
index.html
@ -15,7 +15,16 @@
|
||||
<a href="/">
|
||||
<img src="./Assets/SVG/Logo-M3Academy.svg" alt="Logo M3Academy">
|
||||
</a>
|
||||
|
||||
|
||||
</header>
|
||||
|
||||
<main>
|
||||
|
||||
<div>
|
||||
<img class="banner-principal banner-principal-desktop" src="./Assets/Images/Banner-principal-desktop.png" alt="banner principal desktop">
|
||||
<img class="banner-principal banner-principal-mobile" src="./Assets/Images/Banner-principal-mobile.png" alt="Banner principal mobile">
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user