
Design comparison
Solution retrospective
I wanted to make my code efficient and maintainable by defining global variables in the :root (such as fonts, colors, and spacing). It was really satisfying to write code faster this way.
What challenges did you encounter, and how did you overcome them?For the product photo, I noticed in the mobile version of the Figma design that the image wasn’t properly centered and had been manually repositioned along the X and Y axes for aesthetic purposes. To match the design, I used the object-position CSS property, which allowed me to replicate the original look.
Community feedback
- @qayoommunawarPosted 26 days ago
Very effective usage of flex box, but i think it can be done more simply but very appreciated.
0
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