As the heading suggests, I'm having trouble centering content inside a column within .container-fluid in Bootstrap 4.
Below is the code I'm using, but I can't figure out what's wrong. Can someone please assist me?
<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 isn't the .mx-auto class working and is there an alternative I can use instead?