I'm facing a challenging situation here. I have a container with a background image, and inside it, there are 3 small circles. My goal is to make the background image zoom in when I hover over it, and dim the background image when I hover over any of the 3 little circles.
After some effort, I managed to place the 3 circles properly on top of the container and achieve the background zoom effect on hover. However, I'm encountering 2 issues.
Issue 1: I'm not satisfied with the method I used to overlap the circles, which involves this code snippet:
#circle_wrap{
position: absolute;
margin-top: -130px;
}
Issue 2: I'm struggling to figure out how to dim the background. My initial plan was to have a hidden black container with 0.5 opacity that would be displayed when hovering over one of the circles. But I couldn't find a way to select the overlay.
If a pure CSS solution isn't feasible, I'm open to a jQuery solution as well.
I welcome any advice, tips, or solutions you may have. I really need to make this work. Thank you.