Hi there I'm using bootstrap 4 the frame I'm using below is fine since all of my pages have started from the top but now I'm trying to center the elements.
<style>
body,
wrapper {
min-height: 100vh;
}
</style>
<body>
<wrapper class="d-flex flex-column">
<nav>
</nav>
<main class="flex-fill">
<div class="container-fluid">
THIS IS THE DIV IM ATTEMPTING TO CENTER
</div>
</main>
<footer>
</footer>
</wrapper>
</body>
I have tried using top to attempt to change the position but that didn't work what did work, I did however manage to change the position by using margin-top with a vh value but that isn't responsive on different screen sizes, I was hoping anyone could help me with a responsive way to tackle this problem, I've already managed to center the div horizontally with row justify-content-center I just cant vertically center the div. Thanks