Just like the title says, in Bootstrap 4, I can't figure out how to center content inside a column that's inside .container-fluid.
Here's my code, can someone please let me know what I did wrong?
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta.2/css/bootstrap.css" rel="stylesheet" />
<div class="container-fluid">
<div class="row">
<div class="col-md-4 my-auto mx-auto">
<div class="mx-auto">
<h1 class="mb-5">This is a title
</h1>
<p class="mb-5">Lorem ipsum</p>
<a href="#">Click me</a>
</div>
</div>
<div class="col-md-8">
<p>Something else that's not important but needs to be here </p>
</div>
</div>
Why doesn't the .mx-auto work and what can I use instead of it?