Design comparison
Solution retrospective
What are the best/most widely used practices when it comes to writing CSS?
It was difficult to position the white block containing the amount left responsively without using JavaScript. Feedback regarding a way to do this purely using HTML and CSS (if possible) would be much appreciated.
Community feedback
- @subu-vPosted over 2 years ago
You could have use absolute positioning to position the white block. didn't you try?
0@VenusYPosted over 2 years ago@subu-v Yep, I used absolute positioning in conjunction with relative positioning to position the white block, but as a result, the solution isn't responsive as changing the font size would have caused it to move out of place.
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