Design comparison
SolutionDesign
Solution retrospective
I couldn't figure out how to make the i tag change depending on the screen with javascript. Any suggestion is welcome :)
Community feedback
- @mattstuddertPosted about 5 years ago
For the
i
tag that you're using, I'd wrap that and theinput
in an element, like adiv
and then for desktop useposition: absolute
on thei
tag and remove it for mobile. You definitely don't need to duplicate it. Hope that makes sense. Let me know if you have any questions! 🙂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