Is it possible to adjust the height of a section to match the background using CSS?
Currently, the height is determined by the content within the section.
CSS:
.content-block {
background-size: cover;
background-position: center center;
}
HTML:
<section id="header-section" class="content-block" style="background: url(./images/bk1.jpg)">
<div class="container">
<div class="row">
<div class="col-xs-6">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolore, nam error praesentium dolorum quae provident nulla expedita? Libero, quia, perferendis, illo asperiores blanditiis impedit nemo consectetur commodi architecto cumque cupiditate.</div>
<div class="col-xs-6">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, officia, quasi, minus, quas odio explicabo similique blanditiis odit unde dolores assumenda aut sint incidunt eaque maiores recusandae eum quod voluptate.</div>
</div>
</div>
</section>