Getting inline-block element's height to fill the parent

前端 未结 4 2048
庸人自扰
庸人自扰 2020-12-29 02:20

I have a container with two items. One of those items is a select element, so I need to set the size attribute via HTML. I want the other item in

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-29 02:43

    If I understand what you are saying, you are facing the 100% height columns problem. I'm sorry to tell you there is no actual solution but "hacks".

    Here you can find several of those workarounds. I like to use the one true layout method.

    By the way, this is thinking you don't want to use the experimental css3 columns properties.

提交回复
热议问题