Submitted 5 months agoA solution to the Blog preview card challenge
Responsive Blog Preview Card
pure-css
@ElaysonAbreu

Solution retrospective
What challenges did you encounter, and how did you overcome them?
To insert vertical space after the span for the ID learning, I had to insert it into a helper div, which may not be the best solution.
I initially had no success vertically centering the profile picture and name. To align them, I had to set an absolute value for vertical-align in #img-avatar.
It is not possible to use margin-bottom on a span, since it has an inline display. So my question is: is there a better way to insert vertical space after the span with id leaning other than enclosing it with a div?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on ElaysonAbreu's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord