Blog Preview Card using CSS Variables and Flexbox

Solution retrospective
Things I am proud of
- Semantic HTML (I tried my best)
- CSS Variables where it made sense to me (I still have a lot to learn)
- I added a transition for the
box-shadow
for the card and thecolor
for the card's title
- Pixel Perfect -> I tried my best by relying upon the Figma File but it was not enough.
- Units for spacing and font size: I chose px for padding and rem for the rest.
HTML
- Semantic
- Accessibility
CSS
- Responsive
- Which unit to choose for spacing (padding, margin, gap...)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Younes Iddahamou Idrissi'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