Design comparison
Community feedback
- @jboysPosted 2 months ago
Hey Rahmonbek,
I really like your solution! It looks clean, responsive and closely matches the design — but I noticed you've written a lot of custom CSS in your input.css file. Since you're using Tailwind, you could simplify things by relying more on its utility classes.
For example, instead of writing custom margins, paddings, or flex layouts, you can use Tailwind's built-in utilities like
p-6
,mt-4
,md:flex-row
, andshadow-lg
. Also, Tailwind can handle screen size breakpoints with prefixessm:
md:
etc, which saves you from writing custom media queries. Making better use of Tailwind will reduce the amount of CSS you write and should make future adjustments easier.1
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