-2

I am fighting with a bootstrap container which needs to get displayed in 100% heigth.

Example CodePen:

[https://codepen.io/anon/pen/OYPdgv][1]

Can anybode tell me whats going wrong with it? Has anybody a hint for me?

Regards n00n

n00n
  • 644
  • 1
  • 7
  • 26

1 Answers1

1

You have set <body> on 100% height but you need <html> with 100% height yet:

html {
  height: 100%;
}

edited source: https://codepen.io/anon/pen/arzMaq

Cichy
  • 3,402
  • 3
  • 21
  • 26
  • There is no way directly using a bootstrap class? – n00n May 07 '19 at 19:24
  • Of course, you can set `` and `` like in an "Bootstrap official example" on https://getbootstrap.com/docs/4.3/examples/sticky-footer/ – Cichy May 08 '19 at 08:18