Submitted over 3 years ago
Stats preview card component - Mobile First using React and SCSS
@matiussi
Design comparison
SolutionDesign
Solution retrospective
Hello o/
Here is my solution for the Stats preview card component. My last solution (Social Proof Section) code was a mess, specially in the media queries parts... So I searched for some best approaches to responsive design, and I founded the min(), max(), clamp.
Using those functions made my code cleaner and shorter in my opinion. I only used the functions in <h1>
,<h2>
and <p>
, I'm not quite sure if this is the best way, so if you can give me some feedback i would appreciate it :D
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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