Showing 2 rows
The issue lies with the first row, as it is not displaying properly and does not resize responsively like the second row. I have tried everything but nothing seems to work.
I am attempting to do this because the text and elements in the picture do not stay in the same position when resized.
Image size is 420px width, 466px height; view board
<head>
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0b6964647f787f796a7b4b3e253a253b">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- BOOTSTRAP 5.1 CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="bcded3d3c8cfc8ceddcc91d5dfd3d2cffc8d9289928c">[email protected]</a>/font/bootstrap-icons.css"> <!-- BOOTSTRAP Icons -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/solid.css"> <!-- font-awesome icon -->
</head>
<div class="container-fluid">
<div class="ms-4 me-4 mt-3">
<div class="row">
<div style="position: relative; background-image: url('/images/Board 1.png'); background-size: cover; background-position: center center;height: 100%;" class="col-md-3">
<span class="top-left text-dark"><i class="far fa-heart"></i></span>
<span class="top-right">New</span>
<!--product description -->
<div class="">BILLABONG</div>
<div class="font-weight-bold">Deep Ocean Surfing Board</div>
</div>
<div style="position: relative; background-image: url('/images/Board 1.png'); background-size: cover; background-position: center center;" class="col-md-3">
<span class="top-left text-dark"><i class="far fa-heart"></i></span>
<span class="top-right">New</span>
<!--product description -->
<div class="">BILLABONG</div>
<div class="font-weight-bold">Deep Ocean Surfing Board</div>
</div>
<div style="position: relative; background-image: url('/images/Board 1.png'); background-size: cover; background-position: center center;" class="col-md-3">
<span class="top-left text-dark"><i class="far fa-heart"></i></span>
<span class="top-right">New</span>
<!--product description -->
<div class="">BILLABONG</div>
<div class="font-weight-bold">Deep Ocean Surfing Board</div>
</div>
<div style="position: relative; background-image: url('/images/Board 1.png'); background-size: cover; background-position: center center;" class="col-md-3">
<span class="top-left text-dark"><i class="far fa-heart"></i></span>
<span class="top-right">New</span>
<!--product description -->
<div class="">BILLABONG</div>
<div class="font-weight-bold">Deep Ocean Surfing Board</div>
</div>
</div>
<div class="mt-5"></div>
<div class="row">
<div style="position: relative;" class="col-md-3">
<img class="img-fluid" src="/images/Board 5.png" alt="">
<span class="top-left text-dark"><i class="far fa-heart"></i></span>
<div class="">BILLABONG</div>
<div class="font-weight-bold">Deep Ocean Surfing Board</div>
</div>
<div style="position: relative;" class="col-md-3">
<img class="img-fluid" src="/images/Board 6.png" alt="">
<span class="top-left text-dark"><i class="far fa-heart"></i></span>
<div class="">BILLABONG</div>
<div class="font-weight-bold">Deep Ocean Surfing Board</div>
</div>
<div style="position: relative;" class="col-md-3">
<img class="img-fluid" src="/images/Board 7.png" alt="">
<span class="top-left text-dark"><i class="far fa-heart"></i></span>
<div class="">BILLABONG</div>
<div class="font-weight-bold">Deep Ocean Surfing Board</div>
</div>
<div style="position: relative;" class="col-md-3">
<img class="img-fluid" src="/images/Board 8.png" alt="">
<span class="top-left text-dark"><i class="far fa-heart"></i></span>
<div class="">BILLABONG</div>
<div class="font-weight-bold">Deep Ocean Surfing Board</div>
</div>
</div>
</div>
</div>