SVG rounded corner

前端 未结 12 2085
谎友^
谎友^ 2020-11-28 22:21

I have the following SVG:



        
12条回答
  •  情书的邮戳
    2020-11-28 23:03

    Here are some paths for tabs:

    https://codepen.io/mochime/pen/VxxzMW

    
    

    The other answers explained the mechanics. I especially liked hossein-maktoobian's answer.

    The paths in the pen do the brunt of the work, the values can be modified to suite whatever desired dimensions.

提交回复
热议问题