What would be the best and most correct way of hiding part of an image source in an img tag
Say I have the following:
<img alt="" src="myimage.jpg" class="photo" />
My target is to have the image enclosed in a rounded corner container, which will obviously cover the corners of image at the top.
Should I just go and put an absolute positioned element on top of the image as if you're putting a cut-out paper on top of a photo or is there some kind of alternative?