Design comparison
SolutionDesign
Solution retrospective
How could I use bem CSS in this code?
Tailwind offers a lot of functionality but there are many CSS classes that fall short, is it advisable to limit myself to the tailwinds classes or combine it with my style?
Community feedback
- @danielmrz-devPosted 10 months ago
Hello @jasenStudio!
Your solution looks excellent!
I have just one suggestion:
- Your card is overgrowing on screens bigger than 1440px.
š All you need to do is to change it's
max-width
to a lower value, like 350px.This is your code:
@media (min-width: 1280px) .container { max-width: 1280px; }
And this is how you fix it:
@media (min-width: 1280px) .container { max-width: 350px; }
I hope it helps!
Other than that, great job!
Marked as helpful0 - @webzmaPosted 10 months ago
Add max-width to the card.
Marked as helpful0
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