enter image description here
I Have Updated Your Code With Just Few Lines Updated
Check It Out
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Row double 50% height with gap</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" />
<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
}
.container-fluid {
width: 80% !important;
margin: 200px auto;
background-color: green;
height: 500px;
}
.row-double {
height: 100%;
display: flex;
flex-direction: column;
gap: 15px;
}
.row-double>.row {
flex: 1;
margin: 0;
}
.row-double img {
aspect-ratio: 1 / 1;
}
figure {
margin-bottom: 0 !important;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
aspect-ratio: 16 / 9;
}
.gap-15 {
gap: 15px;
padding: 0 !important;
margin: 0 !important;
}
.gap-15>* {
padding: 0 !important;
max-width: calc(50% - 15px *1/2);
}
</style>
</head>
<body>
<section class="mosaic mosaic-02 container-fluid fade-slide fade-slide-down px-0">
<div class="row h-100 gap-15">
<div class="col-6">
<figure id="main" class="h-100 m-0">
<img src="https://picsum.photos/1200/800" alt="Placeholder" />
</figure>
</div>
<div class="row col-6 gap-15">
<figure class="col-6">
<img src="https://picsum.photos/1500/800" alt="Placeholder" />
</figure>
<figure class="col-6">
<img src="https://picsum.photos/1200/850" alt="Placeholder" />
</figure>
<figure class="col-6">
<img src="https://picsum.photos/800/800" alt="Placeholder" />
</figure>
<figure class="col-6">
<img src="https://picsum.photos/1200/900" alt="Placeholder" />
</figure>
</div>
</div>
</section>
</body>
</html>