As a beginner in the world of programming, I'm reaching out for help with my first post. Please bear with any errors in my code or confusion in my terminology.
Experimenting with bootstrap cards on a blog template, I am facing an issue where the height of an element in one row is affecting the position of an element in a different row.
You can view my project here: https://codepen.io/jreecebowman/pen/NyOKpV
Below the main navbar lies a single .row
housing two cards within separate columns: col-md-8
& col-md-4
.
The following .row
seems to be influenced by the row above due to margin between the two col-md-8
cards. In comparison, the subsequent row does not feature this gap; the cards are stacked directly on top of each other. This is how I want the initial row to display, regardless of the size of the smaller card on the right.
I have attempted placing the left cards into .card-columns
, but that doesn't fully resolve the issue as I can only adjust the screen width using an @media
query in the CSS.
I hope my explanation is clear. Can anyone provide assistance with this problem?
Thank you in advance!