Responsive multipage website using React and Tailwind CSS

Solution retrospective
Something that i found somewhat difficult was to change the backgrounds based in the current size of the viewport, im not sure if my implementation using an event listener for the window resizing is optimal. You can find an example about it in the DetailsItem component. I tried to do it with tailwind pseudoclasses but it didn't work.
For the layout purposes i used only flexbox since i feel very comfortable with it, and almost never feel the need to use grid, i dont know if it is optimal, but i find myself always losing more time when using grid.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Gabriel Ferrales's solution.
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