Merge pull request 'feat(index): cria estilo para o banner principal no desktop e mobile' (#4) from feature/main-banner into main

Reviewed-on: #4
This commit is contained in:
Nicolly Vieira Santos Costa 2022-10-11 11:55:08 +00:00
commit 45636c08f7

View File

@ -1,3 +1,4 @@
/*Header*/
* {
margin: 0;
box-sizing: border-box;
@ -15,3 +16,29 @@
padding: 30px 0;
}
/*Main Banner*/
.main-banner {
width: 100%;
}
.main-banner-desktop {
display: block;
}
.main-banner-mobile {
display: none;
}
@media screen and (max-width: 1024px) {
/*Banner*/
.main-banner-desktop {
display: none;
}
.main-banner-mobile {
display: block;
max-height: 598px;
object-fit: cover;
}
}