CSS : Banner cover petite taille ecran
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user