CSS : Banner cover petite taille ecran

This commit is contained in:
Anthony Mahe
2025-07-25 17:15:47 +02:00
parent 4729fcf357
commit 555446fb21

View File

@@ -1,7 +1,7 @@
/* Style de la bannière */ /* Style de la bannière */
.banner { .banner {
margin-top: 3rem; margin-top: 3rem;
background-size: contain; background-size: cover;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
min-height: 70vh; min-height: 70vh;
@@ -59,7 +59,7 @@
/* Style pour téléphone portable*/ /* Style pour téléphone portable*/
@media (max-width: 849px) { @media (max-width: 849px) {
.banner { .banner {
background-size: cover; background-size: contain;
min-height: 50vh; min-height: 50vh;
} }