Hello.
Tell me, please, it is necessary to make a hat from a right triangle. Through what will be better and more correctly to implement it?
I tried through img, it seems to me not a good option, since the quality of the edges of the picture was intermittent.
I read about svg, as I understood, a line is drawn there. Would it be possible, in this case, for example, to fill the resulting triangle with some color and place a menu on it, so that everything works correctly? Or do it better through css via border? And if done through css, will not the invisible area block the content that is under it?