Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 6 months ago

CSS, HTML, Hover, gap in css

KodintsevK•40
@KodintsevK
A solution to the Blog preview card challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

It turned out to be easier to control the margins between elements inside the div block using the gap property when display: flex; and flex-direction: column are enabled.;

What specific areas of your project would you like help with?

I would like to control the fonts of the texts so that I don't have to rewrite the same test, but use a constant value. Everything I've found on the Internet doesn't seem convenient to me. If you have any advice on how to reuse css properties, please share it. I'll be grateful. :3

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on KodintsevK'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License