@hitmorecode
Posted
Thisis what you have on in your CSS --Cyan: hsl(178, 100%, 50%). If you change this to --Cyan: hsla(178, 100%, 50%, 0.5); By adding the alpha you can lower the opacity (in this case to 50%). You can adjust the alpha as you please until you find a value that you are happy with.
Since you only want to see this on hover. Create a css rule and set the opacity to 0 to initially hide it. After that create another CSS rule to show it on hover and set the opacity to 1. This should solve your problem.
for example: to hide
.image { background-color: hsla(178, 100%, 50%, 0.5); opacity: 0; }
to show on hover
.image:hover { opacity: 1; }
Marked as helpful
@Tarek-bari
Posted
thank you @hitmorecode