I'm struggling to figure out why there is extra space above the nested grid row. I want to center align it, similar to how you would do in Excel. Any suggestions on how to achieve this?
My layout includes a fluid container with a nested grid row consisting of three columns. However, when I add another grid row inside the first column, it seems like an unwanted space appears above it.
Appreciate any help!
Issues with grid row alignment
.row>div:not(.row) {
background: #ddd;
}
.row .row>div {
background: pink;
}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5e3c31312a2d2a2c3f2e1e6a7068706c">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<div class="container-fluid">
<div class="row">
<div class="col-xl-4">
<div class="row">
<div class="col-xl-6">Col content</div>
<div class="col-xl-6">Col content</div>
</div>
</div>
<div class="col-xl-4">Col content</div>
<div class="col-xl-4">Col content</div>
</div>
</div>