I need to achieve the same height for my sections using Bootstrap 4 but I want only the content <div class="content">
to be enlarged, not the header and footer.
section {
background: #ccc;
border: 1px solid #000
}
header {
background: red;
color: #fff
}
footer {
background: blue;
color: #fff
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet"/>
<div class="row">
<div class="col-3">
<section>
<header>
Title
</header>
<div class="content">
<ul>
<li>
Item 1
</li>
</ul>
</div>
<footer>
Footer
</footer>
</section>
</div>
<div class="col-3">
<section>
<header>
Title
</header>
<div class="content">
<ul>
<li>
Item 1
</li>
<li>
Item 2
</li>
</ul>
</div>
<footer>
Footer
</footer>
</section>
</div>
<div class="col-3">
<section>
<header>
Title
</header>
<div class="content">
<ul>
<li>
Item 1
</li>
<li>
Item 2
</li>
<li>
Item 3
</li>
<li>
Item 4
</li>
</ul>
</div>
<footer>
Footer
</footer>
</section>
</div>
</div>
Could you assist me with this task?