I want to add a frame to my image. But with borders, the images shrink.
This is my code:
.img-border {
height: 100%;
width: 100%;
position: absolute;
z-index: 1;
}
<div class="border border-black img-border">
</div>
<img class="img-fluid shadow bg-white" src="https://mir-s3-cdn-cf.behance.net/project_modules/disp/a3efe622972119.5631b3f61e688.gif">
But I feel this is very wrong.