Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive solution using tailwind-css and flexbox

Rahat 20

@rahatfaruk

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Used tailwindcss with custom config

What challenges did you encounter, and how did you overcome them?

challenge: make a small height component take up the full screen

Solution: I used flexbox and set the container height to 100vh with flex-col. Then, I assigned flex-1 to the card container so it takes up the remaining space, and placed the footer at the bottom.

What specific areas of your project would you like help with?

tailwindcss custom config: font-family, colors

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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