Check out this piece of HTML code I have:
<div class="container">
<div class="column">
<div class="post-module">
<!-- Inserting content here -->
</div>
<div class="post-module">
<!-- Inserting content here -->
</div>
<div class="post-module">
<!-- Inserting content here -->
</div>
</div>
</div>
And take a look at the associated CSS styles:
body {
background: #f2f2f2;
font-family: 'proxima-nova-soft', sans-serif;
font-size: 14px;
}
.post-module {
position: relative;
z-index: 1;
display: block;
background: #FFFFFF;
min-width: 270px;
height: 470px;
/* Other styling attributes */
}
/* Additional CSS rules here */
Here's what I'm encountering with the current layout:
The cards are currently stacked directly on top of each other, but I want them to align horizontally like this:
I've tried using float and display properties without success. Any suggestions on how to resolve this? Feel free to view the code on CodePen for reference: CodePen link