Setting 100% height to columns in Twitter Bootstrap

前端 未结 1 804
伪装坚强ぢ
伪装坚强ぢ 2021-02-09 03:43

I am new to BootStrap so learning the ropes and understanding it. I am trying to acheive 100% height in column grid so that it covers 100% height of the page. Right now no heigh

相关标签:
1条回答
  • 2021-02-09 03:54

    try this:

    html,body
    {
      height: 100%;
    }
    

    If that doesn't work, then use inspect element, and verify that parent elements have 100% height. (Because if they don't - then child elements won't get 100% height unless they are position:absolute or position:fixed

    0 讨论(0)
提交回复
热议问题