I'm trying to code a website which looks like this:
- In one row, two columns
- one behaive like the container would be
container-fluid
, the other likecontainer
I tried several ways I could imagine but none worked. This is my output code:
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet" />
<div class="container">
<div class="row">
<div class="col-6 bg-primary text-white">
<h1>Hey there</h1>
</div>
<div class="col-6 bg-secondary">
</div>
</div>
</div>
Any one an idea? It's important the the margin is the same like container since all elements of the website should start in one line.