Encore des tests

master
Esteban JACQUES 8 months ago
parent afff5b52a7
commit db236780b7

@ -44,7 +44,9 @@
</div> </div>
</aside> </aside>
</div> </div>
<img src="matrix.jpg" alt="test" title="test" class="testimg"/> <div id="testdiv" >
<img src="matrix.jpg" alt="Ma grosse tete la" title="ça pousse" id="imgtest"/>
</div>
<footer>footer</footer> <footer>footer</footer>

@ -4,6 +4,8 @@ body {
padding: 0; padding: 0;
overflow-x: hidden; overflow-x: hidden;
border: dashed purple; border: dashed purple;
display: flex;
flex-direction:column;
} }
/* Style pour chaque section avec image de fond */ /* Style pour chaque section avec image de fond */
@ -132,10 +134,18 @@ header {
height: 500px; height: 500px;
} }
.testimg{ #testdiv{
position: absolute; 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; height:100vh;
width:auto; width:100%;
justify-self:center; background-size: cover;
overflow-x: hidden; overflow-x: hidden;
object-fit: contain;
} }

Loading…
Cancel
Save