SVG 绘制微信订阅号icon

效果

代码

cpp 复制代码
<!DOCTYPE html>
<html>
<body>

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="600" height="600">
  <rect x="0" y="0" rx="0" ry="0" width="600" height="600" style="fill:#1677D2;stroke:black;stroke-width:0;opacity:1" />
  <rect x="140" y="120" rx="40" ry="40" width="320" height="360" style="fill:#fff;stroke:black;stroke-width:0;opacity:1" />
  <circle cx="200" cy="200" r="28" stroke="#fff" stroke-width="0" fill="#1677D2"/>
  <rect x="180" y="280" width="180" height="16" style="fill:#1677D2;stroke-width:0;stroke:rgb(0,0,0)"/>
  <rect x="180" y="320" width="120" height="16" style="fill:#1677D2;stroke-width:0;stroke:rgb(0,0,0)"/>
  <rect x="180" y="360" width="120" height="16" style="fill:#1677D2;stroke-width:0;stroke:rgb(0,0,0)"/>
</svg>

</body>
</html>
相关推荐
WeiXiao_Hyy3 小时前
成为 Top 1% 的工程师
java·开发语言·javascript·经验分享·后端
xjt_09014 小时前
基于 Vue 3 构建企业级 Web Components 组件库
前端·javascript·vue.js
我是伪码农4 小时前
Vue 2.3
前端·javascript·vue.js
辰风沐阳5 小时前
JavaScript 的宏任务和微任务
javascript
冰暮流星6 小时前
javascript之二重循环练习
开发语言·javascript·数据库
Mr Xu_6 小时前
Vue 3 中 watch 的使用详解:监听响应式数据变化的利器
前端·javascript·vue.js
hedley(●'◡'●)7 小时前
基于cesium和vue的大疆司空模仿程序
前端·javascript·vue.js·python·typescript·无人机
百思可瑞教育7 小时前
构建自己的Vue UI组件库:从设计到发布
前端·javascript·vue.js·ui·百思可瑞教育·北京百思教育
CappuccinoRose7 小时前
JavaScript 学习文档(二)
前端·javascript·学习·数据类型·运算符·箭头函数·变量声明
全栈前端老曹8 小时前
【MongoDB】深入研究副本集与高可用性——Replica Set 架构、故障转移、读写分离
前端·javascript·数据库·mongodb·架构·nosql·副本集