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>
相关推荐
SRET3 小时前
Mineradio 沙盒隔离安装完全指南 | 一键安全运行 Electron 应用!!!
javascript·经验分享·安全·electron·aigc·音视频·ai编程
全栈前端老曹3 小时前
【MongoDB】安全与权限管理 —— 用户认证、角色权限、SSL 加密
前端·javascript·数据库·安全·mongodb·nosql·ssl
free357 小时前
作用域链与 Environment:变量查找、遮蔽和赋值怎么实现
javascript
YHL7 小时前
🤖 Agent 智能体开发实战 · 第一课:Tool Use —— 让大模型自动干活
前端·javascript·人工智能
HUMHSX8 小时前
Vue 组件通信核心知识点梳理
javascript·vue.js·ecmascript
风止何安啊9 小时前
🚦 前端并发请求 “交通管制”:别让你的接口堵成早高峰
前端·javascript·面试
熊猫钓鱼>_>9 小时前
2026 前端的三场底层革命:当 Vue、React Native 和 Three.js 同时去掉中间层
前端·javascript·vue.js·react native·架构·webgl·three.js
名字还没想好☜9 小时前
React useEffect 依赖数组踩坑:闭包陷阱与清理函数
前端·javascript·react.js·react·useeffect
柒和远方10 小时前
LeetCode 4. 寻找两个正序数组的中位数 —— 二分划分的艺术
javascript·python·算法
默_笙10 小时前
😢 我被 JS 的 this 整不会了:同一个函数,换个“地区”调用,结果就不一样
javascript