Design comparison
Solution retrospective
Not much to say on this one, though I am proud of the focused styling of the links.
What challenges did you encounter, and how did you overcome them?As mentioned above, the styling of the focused links. The idea was for the links to display the same whether hovering over them, or tabbing through them. I went with the following solution:
li:hover {
opacity: 80%;
cursor: pointer;
}
li:has(a:focus) {
opacity: 80%;
}
a:focus {
outline: none;
}
What specific areas of your project would you like help with?
The background image I used loads slowly, most likely due to the resolution. I plan on returning and fixing this. I'd like a way to load higher res images as needed based on the screen resolution.
On the topic of resolutions, I should probably switch from px to rem if I will be developing for resolution compatibility sake.
Community feedback
- @nullpuppyPosted 6 months ago
Looks good! The contrast for the hover/focus could be better, in my opinion, as it's kind of hard to notice.
Regarding your large background image, that reminded me of a video I saw recently by Kevin Powell for larger images using the background-url as a lower res image https://www.youtube.com/watch?v=345V2MU3E_w You might be able to do something similar (maybe with javascript?)
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