I have tried removing the top and bottom margins of the image and the project title (as shown below) but the gap is still there. Can someone advise me what did I do wrong?
A lot of beginners have “wrapping syndrome” when they afraid of wrapping thing with block elements, like div. There is pretty much only one situation when you may use unwrapped inline elements put together - text. In any other scenario, especially if they of different kind - wrap them!
<!-- Card -->
<div class="card">
<!-- DIVided by two elements inside -->
<div class="card-featured-image"><div>
<div class="card-title"></div>
</div>
This is absolutely correct from the point of semantics. In your case you also need to wrap those children elements with a tag to make the whole card a link.
@GremlinSW Try this and see if it the way you want that column set up (I added/subtracted some CSS to center the column in the flex layout you have) and I found the problem almost immediately;
Actually that is not what I have in mind. I am trying to achieve something similar to this:
However, if you look at my version @ https://codepen.io/GremlinSW/pen/BaoOryo, you will notice a very small gap between the image and the title block at the bottom of each image. That is the issue I am trying to resolve.