Grid Card

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Latest Blog Posts</title>
    <link rel="stylesheet" href="/lates.css">
</head>
<body>
    <div class="container">
        <div class="post">
            <img src="https://via.placeholder.com/150" alt="Post Image">
            <div class="post-content">
                <h3><a href="#">Quick guide on business with friends</a></h3>
                <p>There is now an abundance of readable dummy texts. These are usually used when a text is required purely to fill a space. This is Joya Aafri's post on Event.</p>
                <div class="meta">
                    <span class="date">19th Oct, 19</span>
                    <span class="category">Event</span>
                    <a href="#" class="read-more">Read More</a>
                </div>
            </div>
        </div>
        <!-- Repeat the above structure for each post -->
    </div>
</body>
</html>
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.post {
    width: 300px;
    margin: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.post img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin: 0;
}

.post-content p {
    color: #666;
}

.meta {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date, .category {
    font-size: 14px;
    color: #999;
}

.read-more {
    text-decoration: none;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
}

.read-more:hover {
    background-color: #0056b3;
}