Given an image, I am able to make it rounded with the specific height and width using this css:
.image {
width: 140px;
height: 140px;
border-radius: 80px;
}
<img class="image" src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.the-sun.com%2Fwp-content%2Fuploads%2Fsites%2F6%2F2021%2F01%2FNA-Joe-biden-impeachment-comp-2.jpg&f=1&nofb=1"></img>
If the image is not a perfect square though (as shown above), the image will get stretched. How can I shrink the image to fit the width and height specified in the css, and mask any extra image rather than shrinking it to fit?