Force sidebar height 100% using CSS (with a sticky bottom image)?

后端 未结 15 1251
再見小時候
再見小時候 2020-12-02 05:40

I\'ve been banging my head against the wall for hours trying to figure out this issue and think it must be something small I\'m missing. I\'ve searched online, but nothing

15条回答
  •  伪装坚强ぢ
    2020-12-02 06:34

    Flexbox (http://caniuse.com/#feat=flexbox)

    First wrap the columns you want in a div or section, ex:

    Then add the following CSS:

    .content {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }
    

提交回复
热议问题