forked from M3-Academy/practice-time-landing-page
Adiciona os banners principais desktop e mobile
This commit is contained in:
parent
4f74f83622
commit
ef9d104325
BIN
assets/img/main-banner-desktop.png
Normal file
BIN
assets/img/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/img/main-banner-mobile.png
Normal file
BIN
assets/img/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 341 KiB |
@ -12,4 +12,20 @@
|
||||
|
||||
.header-logo{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner-desktop{
|
||||
width:100%
|
||||
}
|
||||
|
||||
@media screen and(max-width:414px) {
|
||||
.main-banner-desktop{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and(min-width:415px){
|
||||
.main-banner-mobile{
|
||||
display: none;
|
||||
}
|
||||
}
|
10
index.html
10
index.html
@ -10,8 +10,16 @@
|
||||
<body>
|
||||
<header class="page-header">
|
||||
<a href="/">
|
||||
<img class="header-logo" src="./assets/img/Logo_M3.png" alt="Logo M3">
|
||||
<img class="header-logo" src="./assets/img/Logo_M3.png" alt="Logo M3">
|
||||
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<img class="main-banner-desktop"src="./assets/img/main-banner-desktop.png" alt="Banner Principal" />
|
||||
<img class="main-banner-mobile"src="./assets/img/main-banner-mobile.png" alt="Banner Principal" />
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user