How to remove part of a border?

On the upper right there is a part that picture is from the top of the border, and then dives under it, how to do it? someone tell me?
5c9b43a5b6b0c381861197.png
March 19th 20 at 08:48
3 answers
March 19th 20 at 08:50
Solution
The pseudo-element, the size of this block with a border, have absolute positioning exactly over it. Then the pseudo-element makes a border on the right and the top do not. That's all. A similar example:

Do not forget about pointer-events: none, not to obstruct access to the content.
March 19th 20 at 08:52
Stand two blocks from the image. One OVER the border, the second UNDER.
March 19th 20 at 08:54
the designer would hands pootryvat )) Do a pseudo-element right border z-index

Find more questions by tags CSS