-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
  • 654
  • 1
  • 10
  • 30

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
  • 4,602
  • 3
  • 23
  • 28
  • 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