
Product preview card using Tailwind CSS
Design comparison
Community feedback
- P@niuguyPosted about 1 month ago
On desktop, it looks perfect. On mobile, the layout is good, but sometimes it doesn’t fully fit the screen, requiring horizontal scrolling. I’m not an expert in mobile layouts, especially with Tailwind. If you find a better solution later, please share it.
0P@AnonymousCoder323Posted about 1 month ago@niuguy I looked at my solution again and the horizontal scroll only comes up when the width is around 240px. Based on viewportsizes.com, it doesn't seem like 240px is a viewport width that needs to be accounted for.
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