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

后端 未结 15 1176
再見小時候
再見小時候 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:14

    UPDATE: As this answer is still getting votes both up and down, and is at the time of writing eight years old: There are probably better techniques out there now. Original answer follows below.


    Clearly you are looking for the Faux columns technique :-)

    By how the height-property is calculated, you can't set height: 100% inside something that has auto-height.

提交回复
热议问题