E-commerce website

Please how can I make this type of color when hovering on this image?
No description
34 Replies
xel
xel3y ago
is that a live site you can link ?
ʙᴀʀʀʏ (✧ᴗ✧)
No,,I’m still working on it.
xel
xel3y ago
so what do you mean "this type of color" ?
ʙᴀʀʀʏ (✧ᴗ✧)
I meant,what do I do to make that happen when hovering on the image.
xel
xel3y ago
make what happen the border ?
ʙᴀʀʀʏ (✧ᴗ✧)
I’ve done the border already,I mean the background thats on the image when hovering.
xel
xel3y ago
how can you tell there is a "background on the image" ? what happens exactly when you hover ?
ʙᴀʀʀʏ (✧ᴗ✧)
This is the normal state.
No description
xel
xel3y ago
ok so it gets brighter
ʙᴀʀʀʏ (✧ᴗ✧)
It’s brighter on the normal state.
xel
xel3y ago
to set hover styles you use the hover pseudoclass: https://developer.mozilla.org/en-US/docs/Web/CSS/:hover to make it brighter you could do something like opacity https://codepen.io/Xe11o/pen/BavyxZa could also do filter: brightness(150%); or some othe other techniques here https://stackoverflow.com/questions/16178382/css-lighten-an-element-on-hover
ʙᴀʀʀʏ (✧ᴗ✧)
I’m not trying to make it brighter.
Tenkes
Tenkes3y ago
You need to explain what you're trying to do. We can't see much since it's low quality image taken by phone. Maybe send a screenshot? If you're on Win10 you can use Ctrl+Shift+S to use snipping tool. All I can see is it gets border and it gets brighter. You already added border and you're not trying to make it brighter. What are you trying to achieve?
ʙᴀʀʀʏ (✧ᴗ✧)
Okay This is the image at normal state.
ʙᴀʀʀʏ (✧ᴗ✧)
And this is the image when you hover on it.
snxxwyy
snxxwyy3y ago
@nwankwojoseph_ you can do it with a pseudo element- https://codepen.io/deerCabin/pen/YzdPvwz
ʙᴀʀʀʏ (✧ᴗ✧)
You’re valid ✅ ….thanks 🙏☺️
snxxwyy
snxxwyy3y ago
no worries, added your border thing too.
ʙᴀʀʀʏ (✧ᴗ✧)
I made use of outline not border. I
snxxwyy
snxxwyy3y ago
that's what i did.
ʙᴀʀʀʏ (✧ᴗ✧)
Okay.thanks once again man🤝
snxxwyy
snxxwyy3y ago
no problem 🤝
ʙᴀʀʀʏ (✧ᴗ✧)
I don’t know how to change the tag 🤦‍♂️
snxxwyy
snxxwyy3y ago
there may be a better way of doing it but that's what came to mind, perhaps someone else who comes along that has a better solution can improve it.
ʙᴀʀʀʏ (✧ᴗ✧)
Okay bro 🤝
snxxwyy
snxxwyy3y ago
what tag?
Tenkes
Tenkes3y ago
Click three dots on top-right, should be option to edit them there
ʙᴀʀʀʏ (✧ᴗ✧)
Can’t find any dot. 😢
Tenkes
Tenkes3y ago
No description
ʙᴀʀʀʏ (✧ᴗ✧)
its not showing
Jochem
Jochem3y ago
You have to hold on the topic in the channel list on mobile. I've added the solved tag for you now
ʙᴀʀʀʏ (✧ᴗ✧)
thanks..done

Did you find this page helpful?