Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 3 years ago

Responsive Perfume Card using HTML/CSS

Dustin Soos•60
@dustinsoos
A solution to the Product preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


So for me this project was about knocking off a good amount of rust and getting back into challenging myself with the use of CSS. The most difficult part of the project for me was implementing the grid so that the image went to the left of the card on the desktop version.

The areas of code I'm unsure of would just be the set ups of aligning the prices/making sure the picture moved over for the desktop version, and potentially the width on mobile version being a little to small.

A question I would have is when placing all my components in a container I just wanted my full container to take up a little more space in mobile version, what would be a good way to make that happen?

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Dustin Soos'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License