Responsive social links card made with vanila cssππ₯
Design comparison
Solution retrospective
it was an overall easy project, next time I would like to do a better job in handling typography in different screen sizes.
What challenges did you encounter, and how did you overcome them?This was my first project after a very long hiatus, so I had already forgotten a lot of things and my skills have deteriorated a lot, but I'm looking to rebuild my foundation to be a lot strongerπ₯
What specific areas of your project would you like help with?I would like to know if there is a better way to implement a font with different weights than the way I did? I had a problem using the variable font, so I had to switch into using the static files.
Community feedback
- @MikDra1Posted 2 months ago
If you want to make your card responsive with ease you can use this technique:
.card { width: 90%; max-width: 37.5rem; }
On the smaller screens card will be 90% of the parent (here body), but as soon as the card will be 37.5rem (600px) it will lock with this size.
Also to put the card in the center I advise you to use this code snippet:
.container { display: grid; place-items: center; }
Hope you found this comment helpful πππ
Good job and keep going πππ
0
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