How to force child div to be 100% of parent div's height without specifying parent's height?

前端 未结 26 1690
刺人心
刺人心 2020-11-22 06:52

I have a site with the following structure:

<
26条回答
  •  情话喂你
    2020-11-22 07:47

    [Referring to Dmity's Less code in another answer] I'm guessing that this is some kind of "pseudo-code"?

    From what I understand try using the faux-columns technique that should do the trick.

    http://www.alistapart.com/articles/fauxcolumns/

    Hope this helps :)

提交回复
热议问题