Submitted over 1 year ago
Product preview card component
@SantiagoRcp
Design comparison
SolutionDesign
Solution retrospective
What did you find difficult while building the project?
Community feedback
- @Bader-IdrisPosted over 1 year ago
some advice on fixing your prices.
you can put both
prices
into a div and give that divdisplay: relative
, and its childrenposition: absolute;
, then you can modify top and left of these prices, especially the crossed one. I hope it's helpful.to Summarize:
div.parent { display: relative; } div.parent .children { display: absolute; } div.parent :last-child { left: 30px ; }
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