
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Things I'm proud of:
- Learning to install tailwindcss on a new project
- Using flexbox efficiently
- Extending custom CSS classes to tailwindcss
Things I'd do differently next time:
- Avoid fixed widths
- Download font files from google fonts
-
Tried installing tailwindcss using vite but ran into some error. Using tailwind CLI worked.
-
Was initially using classes like w-1/4, w-1/2, etc., but noticed that on smaller screen sizes the card was getting too narrow. Went for fixed width instead.
- I would like to know whether this approach of using fixed widths is valid. I just tried to eyeball the width of the card from the design screenshot and typed some width in pixels. Upon testing it seems to be working on all screen sizes, but surely there must be a more optimal way? Is there a better practice like using min width, percentages or something?
Community feedback
- @VlekzanderPosted 14 days ago
The project looks great, you're almost there! All you have to do is adjust the color and dimensions and it's perfect!
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