how to make this black top left corner on the image ?
can anyone tell how I can do this ? I hope I am clear
2 Replies
immediate thought was a pseudo element but
<img>
tags can't have those so you'd need a wrapper. Here's a go with a conic-gradient border-image
: https://codepen.io/jsnkuhn/pen/LYaXLOmpersonally i would use a background clipped to the borderbox
that way you can also easily add a border-radius (not posible with border-image)