I'm having trouble figuring out how to center my select element within my div.
<!--PAGE CONTENT-->
<main role="main" class="container-fluid">
<div class="row text-center justify-content-center" style="border: 1px solid red;">
<!--SELECT-->
<select id="selectList" style="width: 200px;">
<option></option>
<option value="attendance">Närvaro</option>
<option value="students">Elever</option>
</select>
<hr>
<!--Js Content-->
<div id="jsContent"></div>
</div>
</main>
I've attempted using different Bootstrap classes but haven't been successful in achieving the desired result.
Fiddle:
https://jsfiddle.net/o9b17p2d/38/
UPDATE
While searching for a solution to this issue, I noticed that most resources focus on vertical centering. This is why I believe it's important to address horizontal centering specifically in this question!