Design comparison
SolutionDesign
Solution retrospective
I couldn't put the white background on the picture that should appear when I'm hovering the picture. How i can do that?
Community feedback
- @RioCantrePosted almost 3 years ago
Hello there! Great job with this one. Looking at your solution I would suggest the following for you.
- Wrap the
conatiner
withmain
tag - Add description to
alt
inimg
tag - Change the background color in the
body
intobackground: hsla(217, 54%, 11%, 1);
- Remove
opacity: .5;
in the hover state of the hero image - Add the background color for the hover state as well
Hope this helps and Keep up the good work!
Marked as helpful1@RioCantrePosted almost 3 years ago@med-ghaza No worries! I would appreciate if you mark it as helpful. Cheers!
0 - Wrap the
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