
Design comparison
Solution retrospective
Setting a fixed width for the card container, knowing which unit to use. In this case I used REM measurements.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @petrihcour
Awesome job with the responsiveness. Tailwind CSS does provide the Max Width Property where you could use
max-w-xl
ormax-w-2xl
for the width of the card container, ensuring it gets no larger than that specified width.I'd keep an eye out for detail regarding the design. Using the style guide as a tool will help out. Keeping in mind Tailwind CSS provides letter spacing for the "PERFUME" part.
Marked as helpful
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