Hi,
I am using the following code for the shadow box effect:
.avia-image-container-inner {
box-shadow: 4px 4px 8px #666666;
padding: 5px;
}
I would like to know how I can make the shadow ‘lighter’ and when hovering with the mouse on the image how can the shadow become smaller?
Thank you in advance!
Best,
Anton
Hey tonydobrevski,
For the shadow to be lighter and smaller on hover use the code:
.avia-image-container-inner {
box-shadow: 4px 4px 8px #666666;
padding: 5px;
}
.avia-image-container-inner:hover {
box-shadow: 2px 2px 4px #a3a3a3;
padding: 5px;
}
Note that the first half is your code, the second half is the hover code.
Best regards,
Mike
Hi Mike,
Thank you, works perfectly!
Best,
Anton
Hi,
You are most welcome!
Best regards,
John Torvik