I'm currently designing a card layout with images and aiming for uniformity in size.
The plan is to have 4 columns in each row, with one card per column. Each subsequent row will also contain 4 cards.
However, there seems to be an issue where the cards are not taking up the full 4 columns of each row, causing the fourth card to overflow.
Below is the HTML code snippet for this page:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="C:\Users\ADMIN-SURV\Desktop\training_guide\styles.css">
<style>
</style>
</head>
<body>
<nav style="display: grid; justify-content: center">
<ul>
<li><a href="../index.html" class="button">Home</a></li>
<!-- More list items here -->
</ul>
</nav>
<div class="container">
<div class="row">
<!-- Card elements -->
</div>
<div class="row">
<!-- Additional Card elements -->
</div>
<div class="row">
<!-- Placeholder elements -->
</div>
</div>
</body>
</html>
Snippet from my CSS file (still a work in progress):
/* CSS styles go here */