Design comparison
SolutionDesign
Solution retrospective
I was finding difficulty while positioning the cart button to the left ...
Community feedback
- @amalkarimPosted almost 2 years ago
Hi Subham,
Congratulations for completing the challenge!
You could add this style to make the cart icon placed in the right position:
.perfume_content--button { display: flex; align-items: center; justify-content: center; gap: 20px; }
Also, you could add
@media
queries to make different views on mobile device. If you're unsure about what media queries are, you can read about it in this CSS Tricks article.Hope this helps!
Marked as helpful0
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