答案 0 :(得分:1)
答案 1 :(得分:0)
你不能使用CSS。您必须使用jQuery Masanory
之类的内容答案 2 :(得分:0)
似乎无法实现jsfiddle的效果,但这就是我要去做的事情
<div class="which-ever-class-name"> //surrounding the two divs
<div class="components">Help us find a visionary financier!</div>
<div class="components">Kamusi Here:<br>
Instant translation among the languages in our system (arriving soon at 50+)
<ul>
<li>Chrome extension: ready to ship (pending server)
<li>Mobile app: we need a day or three to join Here! and WordUp!
<li>Facebook Messenger: needs some easy hacks
<li>Other platforms: we've got the back end, just need the implementation horsepower
</ul>
</div>
</div>//end surrounding div
和css
.components{
height:100%;
}
这应该做的是将组件高度设置为填充父(which-ever-class-name
)高度,而父高度依次设置为最长组件。