Design comparison
Community feedback
- @Biggboss7Posted over 2 years ago
Do you mean that you didn't see it on the given design by frontend mentor or you didn't see it after you tried my solution ?
If you mean that you didnt see it on the given design, try to check it one more time on the this challenge preview site and click on active state. It does exist on the challenge.
Marked as helpful0@TRIPLE-ADEPosted over 2 years ago@Biggboss7 thank you sir, I have downloaded the challenge again, maybe I deleted it by mistake because I can't find it in my images folder
0@Biggboss7Posted over 2 years ago@TRIPLE-ADE okay all the best for you
Marked as helpful0 - @Biggboss7Posted over 2 years ago
Hello @TRIPLE-ADE, Good job on accomplishing this challenge. The NFT Card that you built is great, it is almost resemble the given design from frontend mentor.
However, I noticed there is one thing missing in your card, which is the eye logo in the middle of the card.
As the solution from me, maybe you can try this out.
-
Inside your image container (id="overlay"), put the image "eye logo".
-
set your image container (id="overlay") to position : relative
-
set the eye-logo to position : absolute. nb : from step 2 and 3, it will enable your eye logo to be anywhere you like, which the movement is based/relative to the parent container
-
Move the eye logo until it stands in the middle of your NFT-image
-
Inside the CSS, set the eye-logo image to hidden
-
Last, make sure that your eye logo as well as your your background to appear, when you hover through it.
You can write it like this : #overlay:hover img("the eye logo") { display:inline-block; }
I hope this solution can be helpful to you. Happy Coding!
Marked as helpful0 -
- @TRIPLE-ADEPosted over 2 years ago
@Biggboss7 please can you help me to preview the site again
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