Responsive meet page using tailwind CSS

Solution retrospective
I've just started learning Tailwind CSS for this project and am excited to have implemented a responsive page! Responsiveness has always been a bit tricky for me, especially dealing with overlapping elements when using absolute positioning, but I feel like I've finally got it figured out
What challenges did you encounter, and how did you overcome them?At first, I found Tailwind’s syntax a bit challenging, but the website’s documentation was super helpful, and now I’m much more comfortable with it. Positioning hero images was a bit tricky too—I wanted them to overflow the parent container and touch the viewport edges. I figured it out by using negative margins, and it’s looking just right now!
What specific areas of your project would you like help with?I’d like some guidance on effectively using mixins or reusable styles in Tailwind, similar to how CSS handles mixins. I’m curious if there’s an efficient way to apply repeated styling patterns across multiple components without adding redundant code.
Additionally, I’ve noticed my HTML tags are getting cluttered with a lot of classes, making them look a bit unwieldy. Are there any strategies or best practices in Tailwind for keeping my code cleaner, especially when it comes to managing lengthy class lists? Any tips on optimizing readability would be great!
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@ecarlste
Nice job getting your responsive UI to work the way you wanted it to in tailwind.
It looks like the paragraph text in the first two sections is expanding farther than the design. The top hero section text should be the same width as the heading above it. The second heading and that section's paragraph text are also expanding farther than the design looks to intend.
The footer section looks to be laid out in a column rather than a row, so you might want to take a look at getting it to flex as a row rather than a column for large screens.
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