Design comparison
SolutionDesign
Solution retrospective
2 Things 1.- For the active state in mobile I thought to use z-index. Didn't work (maybe I need to study the z-index more).
2.- The active state in desktop was a bit trickier. I started to learn how to use position. Used absolute but I saw I was wrong. Fixed it with relative and. Ta daa it works...kinda, a minor problem is that the active appears. It adds some padding or margin, but I think that because it's relative it adds space.
Oh, btw I started to learn SASS. Ye
Community feedback
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