SVG draws adaptive diamond

Welcome to my official account: front-end detective.Recently, I saw such a problem in a thought: it is necessary to draw a diamond with adaptive size and a border. It is generally very common in the flow chart, and the effect is as followsIf there is no border, use CSS clip-path It is also very convenient to cut out a diamond, but the border is ...

Posted by hanpedro on Mon, 28 Mar 2022 06:28:30 +0300