From 555446fb2113f7f549385311a05619501f9b617a Mon Sep 17 00:00:00 2001 From: Anthony Mahe Date: Fri, 25 Jul 2025 17:15:47 +0200 Subject: [PATCH] CSS : Banner cover petite taille ecran --- class.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class.css b/class.css index 210d066..fea24e6 100644 --- a/class.css +++ b/class.css @@ -1,7 +1,7 @@ /* Style de la bannière */ .banner { margin-top: 3rem; - background-size: contain; + background-size: cover; background-position: center; background-repeat: no-repeat; min-height: 70vh; @@ -59,7 +59,7 @@ /* Style pour téléphone portable*/ @media (max-width: 849px) { .banner { - background-size: cover; + background-size: contain; min-height: 50vh; }