Full version not perfect made using css and flexbox
Design comparison
Solution retrospective
I was not able to make this perfectly so I have lots of doubts they are:
- I was not able to change the color of the image when hovered because I was not able to find the blend mode required.
- I was not able to put the words in correct place so had to use
- I was not able to link the three hover items so that even if one item was hovered all remaining items will make changes according to the given setting.
Welcome for feedback and if possible can solve my doubts. Thank you
Community feedback
- @SrHatcherPosted about 2 years ago
Hello Karthikeya!
You are making a great work. don't worry if you struggle making projects. When you struggle it means that you're going the right way to be better in the future!
Personally i used this setting to make the blue background when you hover the image: Background-color: hsla(178, 100%, 50%, 0.5), you could try it. hsla allows you to use oppaticy in your colors at the final setting: 0.5.
To use the fonts for the project you can get them from google fonts, i've seen that every project on frontendmentor uses google fonts for the font-family. if you don't know how to use google fonts yet you can watch this tutorial: https://www.youtube.com/watch?v=qgmLDPLApBY
You can use this CSS rule to make the project more inmersive: cursor: pointer, so that when you put the mouse on something that is supposed to be some kind of link the cursor of the mouse will change to a pointer icon.
I couldn't understand your third point: I was not able to link the three hover items so that.... if you'd like to explain it again maybe i can help you.
Marked as helpful0@karthik5860Posted about 2 years ago@SrHatcher i wanted to link three hover items so that the image will change color even if I hover over name and title
1@SrHatcherPosted about 2 years ago@karthik5860 oh i see, i can't think in a way to do that without using Javascript. I would add a addEventListener("mouseover", activateAllHoversFunction) to know when the cursor is over the element that i want to trigger all hovers. In the activateAllHoversFunction i'll add the code to manipulate the desire elements in my DOM and active the hover classes (when i say active the hover classes i'm saying that i would add a class to those elements, not active the :hover pseudoclass exactly). Sorry if it's hard to understand, i'm not very good at explaining JS code. Hoping you find it useful :)
Marked as helpful0
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