How to toggle visibility

Hello
Sorry for this css basic question.
I used a section tag and 2 div child with absolute position
But now I don"t know to automatically adjust my footer so it fits with #fond_ecran end of picture

I tried different way with relative & absolute which doesn’t work

Did you try adding the fixed-bottom class?

You can do it with

HTML

<body class="d-flex flex-column vh-100">
  <footer class="mt-auto"></footer>
</body>

or you can do it with

CSS

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

footer {
  margin-top: auto;
}