Design comparison
Solution retrospective
I enjoyed trying out a bit of animations for the hover states! It also felt good that I have started feeling a bit more comfortable using flex.
What challenges did you encounter, and how did you overcome them?I struggled to find some good way to resize the "Learning" chip/button without giving it a fixed width.
What specific areas of your project would you like help with?I'd like to better understand flex-basis, flex-grow and flex-shrink.
I'd also really like to know if there's a better way than just setting a fixed width for the Learning button. Ideally I'd like that button/chip to grow dynamically based on its content (but not take up the full width as the rest of the content).
Community feedback
- @JMBeltranDevPosted 7 months ago
For "Learning" to use 'width: fit-content' that makes the background color fit the text content, I tried to use 'display:inline-block' but it didn't work.
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