Outline being displayed outside of the margin

My understanding is that when applying an outline, it appears where a border would appear if none were present. I'm have a simple situation where I have an image and upon hover, I want to draw an outline outside of the image. The image has a small margin at the top and bottom. What I'm getting as a result is the border being displayed outside of the margin on the top and bottom. I'm finding this baffling. Thanks for any advice.
1 Reply
bobmonsour
bobmonsourOP3mo ago
Never mind. The img is wrapped in an a tag and the a tag's hovering is also being applied, in addition to that on the image. I've got this!

Did you find this page helpful?