-
Force DIV to have 100% height of parent
Will there be cross browser compatibility issues if I use flexbox? Edit: Simply applying display: flex; to the parent seems to be enough. But I'm worried about browser support.
- Force DIV to have 100% height of parent
-
Force DIV to have 100% height of parent
I have 3 divs in a parent divs like this. I'm using bootstrap and the HTML is something like this: <section class="col-md-12"> <div class="row2"> <div class="register col-md-4"> <h4 class="register-heading">Get registered with us</h4> <form action="" method="post"> </form> </div> <div class="adspace col-md-4"></div> <div class="market col-md-4"> <h4 class="market-heading">Marketplace</h4> <ul class="market-list"> </ul> </div> </div> </section> How can I get them all to have the same height? That is 100% height of the parent. I want them all to fill the parent regardless of content.
-
Control size changes that occur due to content
If I were to size the elements within both cards in relative units I could theoretically achieve this right? Anyone know of a LESS mixin or something that could help with this?
-
Control size changes that occur due to content
Newbie problem here. I have designed a page with a bunch of card like elements. But I want their baselines be at the same level regardless of content. Here is a pic: I want the news card and the events card to be on the same level in the bottom. The events card will not change height or width but the news card will change height when the length of the headlines or excerpt changes. Solution? Thanks.