Account Deleted
Hi @jrmydix,
The method I personally used to get rid of image overflow is clip-path: inset.
Here is the MDN reference to explain it. (https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path).
Here is the link to the inset. (https://developer.mozilla.org/en-US/docs/Web/CSS/basic-shape/inset()).
As an example, for my project, I target the img and used this.
/* Example: clip away the element from the top, right, bottom, and left edges */ clip-path: inset(100px 0 30px 300px);
This exact example may not work for you, but the technique might.
I hope this helps.
Marked as helpful
@jrmydix
Posted
@mrsimms430 Thank you, I'll try it!