Design comparison
SolutionDesign
Community feedback
- @MuminaAPosted almost 2 years ago
- To properly center your content instead of having display: flex with justify-content: center use CSS grid within your body tag
body { min-height: 100vh; display: grid; place-content: center; }
- I recommend using a <del> tag to cross out the price that was before the discount.
- I also recommend having 1 header tag ("Essence Eau De Perfum" being the h1 tag) then making everything else a p tag
Marked as helpful1 - @med-redhaPosted almost 2 years ago
hello, you should also use border raduis , and box-shadow also i would suggest the use of max-width, and flex-box . good luck on your comming challenges
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