Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive Blog card using CSS Flexbox and CSS Clamp

Zub04ek 110

@Zub04ek

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

I discovered a new CSS method that helps to make the font size more flexible and adaptive when increasing the width of the viewport without using media queries. It's the clamp() CSS function, and I will use it going forward.

What challenges did you encounter, and how did you overcome them?

It was a bit difficult to understand the new CSS function clamp(), especially how the preferred value is calculated. But I was able to find resources that show and explain this concept in a complete and clear way. I also had some problems with displaying fonts on GitHub pages using @font-face, but I fixed that by correcting the path to the font files.

Community feedback

@Md-Alqma

Posted

Exactly like the given challenge. Well done with the challenge. I can't see any flaws in the solution.

1
Mehrine 120

@DarkMoonLit

Posted

Hi Zub04ek, thanks to you, i'm learning a new CSS component a.k.a clamp().

1

Please log in to post a comment

Log in with GitHub
Discord logo

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