大飞_dafei

导航

svg简单使用

svg简单使用

利用直线画个长方形

<?xml version="1.0" encoding="UTF-8"?>
<svg width="121px" height="32px" viewBox="0 0 121 32" version="1.1"
     xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
    <path d="M0,0  0,0  0,32  121,32  121,0  0,0" style="stroke: #000000; fill:#c0c0c0;"/>
</svg>

其他

<?xml version="1.0" encoding="UTF-8"?>
<svg width="121px" height="32px" viewBox="0 0 121 32" version="1.1"
     xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
    <path d="M0,0  0,0  0,32  121,32  121,0  0,0" style="stroke: #000000; fill:#c0c0c0;"/>

    <text x="55" y="20" fill="#ff6b81"></text>

    <path d="M30,5  30,5 90,5 90,25 30,25 30,5" style="stroke: #afeeee; fill:none;"/>
</svg>
View Code

Bootstrap开源SVG

Bootstrap开源SVG图标库Bootstrap Icons svg

https://icons.bootcss.com/

 

posted on 2022-01-29 16:45  大飞_dafei  阅读(33)  评论(0编辑  收藏  举报