feat(index): cria estilo para o banner principal no desktop e mobile #4

Merged
NicollyVieira merged 1 commits from feature/main-banner into main 2022-10-11 11:55:09 +00:00
Showing only changes of commit 6d4aefc12c - Show all commits

View File

@ -1,3 +1,4 @@
/*Header*/
* { * {
margin: 0; margin: 0;
box-sizing: border-box; box-sizing: border-box;
@ -14,4 +15,30 @@
display: block; display: block;
padding: 30px 0; 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;
}
} }