guys when i change the size of the window my 100%width image take more height space and makes my website slide down, how do i make it so i can keep looking at the same content instead of it sliding down?
without seeing your code, no one's going to be able to help. It's best to share it in a way where it's easy for people to run, so something like codepen or codesandbox. If you can't, you can find instructions on how to share it in a code block in #How To Ask Good Questions @pepegangster
looks to me like things are working fine xD but again use max-height and a object-fit: cover if you wanted to stop it from growing height but still fill. Like we have both pointed out though its all a guessing game without a demo/code.