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

Product Preview Card Component

#tailwind-css
Sourabh 420

@SOURABH358

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@SurajHadage

Posted

I don't know about tailwind, But if you want to match the width and height just use body { min-width:375px; max-width:1440px; min-height: 100vh; } Then guess the width and height. By the way the answer is width="600px", height="450px".

Keep going, Thank you.

0

Sourabh 420

@SOURABH358

Posted

@SurajHadage is there a better way to guess height from design screenshots. Any tips

0

@SurajHadage

Posted

@SOURABH358 Open Paint app, --> View --> unable Rulers. This way you can get actual dimentions and don't use min-width: 375px & max-width: 1440px;

0

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