Design comparison
SolutionDesign
Solution retrospective
Hi,
Two problems with this one:
- it is responsive but on developer mode when I resize resolution- I have to reload the page to see it properly.
- Have no idea what is cousing the amount span to justify to the left instead of center. It's centered when I don't give them a width but then you can't see full amount. How can I fix it?
Of course any feedback on JS is also welcomed:) I'm not a fan of inline styling but it seemed appropriate here in this few cases.
Community feedback
- @burrijwPosted over 2 years ago
Looks good!
When it comes to centering the tooltips, I used position: absolute on the tooltips and then did the ol' left: 50% translate-x: -50% trick to center them relative to the bar div. Maybe play around with that idea.
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