
Solution retrospective
Almost pixel-perfect(without pro and Figma)
The only solution I found about making text shrink with the screen size is to apply vh or vw. Both give a huge flexibility to a font size, so everything breaks.
Can you please tell me other options?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @mattstuddert
Nice work getting so close to the design without Figma! I recommend reading this article about responsive typography to help with your
font-size
question. You can useclamp()
to ensure the text never goes smaller or larger than specific sizes.I hope that helps. Keep up the great work! 🙂
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