Just getting started with Bootstrap and struggling with grid layout...
Seems like I can't figure out how to center the content in the left column, despite trying different approaches with flex elements.
Here's my latest code snippet:
.eh-height-nav {
background-color: blueviolet;
height: 150px;
}
.eh-intro-height0 {
background-color: rgb(173, 134, 209);
height: 100vh;
color: rgb(255, 255, 255);
}
.eh-intro {
width: 100%;
height: 90vh;
}
.eh-intro-img {
background-color: rgb(34, 10, 10);
height: 300px;
width: 300px;
color: blanchedalmond;
}
.eh-intro-columns {
width: 100%
}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="9af8f5f5eee9eee8fbeadaafb4abb4aa">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<div class="container-fluid eh-intro-height0 d-flex align-items-center ">
<div class="d-flex eh-intro-columns justify-items-center align-items-center">
<div class="eh-intro border mx-4 ">
<div class="">
<div class="col ">
<div class="eh-intro-img"></div>
</div>
</div>
</div>
<div class="eh-intro border mx-4">
Content Img
</div>
</div>
</div>