diff --git a/main b/main index 734a0a8..2644b9b 100644 --- a/main +++ b/main @@ -44,7 +44,9 @@ - test +
+ Ma grosse tete la +
diff --git a/style.css b/style.css index 1ffc7c5..8f6e046 100644 --- a/style.css +++ b/style.css @@ -4,6 +4,8 @@ body { padding: 0; overflow-x: hidden; border: dashed purple; + display: flex; + flex-direction:column; } /* Style pour chaque section avec image de fond */ @@ -132,10 +134,18 @@ header { height: 500px; } -.testimg{ - position: absolute; +#testdiv{ + width: 100%; /* Chaque div prend tt la largeur de l'écra */ + height: 100vh; /* Chaque div prend tt la hauteur de l'écran */ + display:flex; + align-items:flex-start; +} + +#imgtest{ height:100vh; - width:auto; - justify-self:center; + width:100%; + background-size: cover; overflow-x: hidden; + object-fit: contain; } +