How can I create an element in Bootstrap that will automatically adjust to be equal on one side (from the left) and occupy 100% of the width on the other side?
.max-width {
max-width: 1170px;
margin-left: auto;
margin-right: auto;
}
<div class="container-fluid">
<div class="row max-width">
<div class="col-sm-6">text 1</div>
<div class="col-sm-6">text 2 </div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-sm-6">nice text on same line 1</div>
<div class="col-sm-6">Full width on right</div>
</div>
</div>