1

I want to achieve something like this.

6 column and 6 column fluid

I have tried container fluid and manually setting margin-left on the left column, but this is not 100%. I also tried different variations from this article, but this did not work either. https://css-tricks.com/full-width-containers-limited-width-parents/

Markup would be like this

<div class="container">
  <div class="row">
    <div class="col-md-6">left column</div>
    <div class="col-md-6">right column should extend to right screen edge</div>
  </div>
</div>
Mehmood
  • 109
  • 2
  • 12

2 Answers2

0

If you are using bootstrap 4 + version, try below in your second div tag

<div class="col-md-6 text-md-right pr-md-0">right column should extend to right screen edge</div>
-1

try this way (Bootstrap 4)

<div class="container-fluid">
  <div class="row">
    <div class="col-md-4 offset-md-2">
      Content
    </div>
    <div class="col-md-6 text-md-right pr-md-0">
      Images
    </div>
  </div>
</div>

https://jsfiddle.net/lalji1051/9Lrhwboc/2/

Lalji Tadhani
  • 14,041
  • 3
  • 23
  • 40