css怎么制作三角形
容器宽高设为0,borderwidth大一些,三条边的bordercolor设为透明
来自酷炫的 CNodeMD
不太鼓励来cnode问这种问题,,,,
# triangle-up { width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid red; }
你需要这个 http://apps.eky.hk/css-triangle-generator/zh-hant
不要求兼容性的话可以试试clip-path
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
容器宽高设为0,borderwidth大一些,三条边的bordercolor设为透明
来自酷炫的 CNodeMD
不太鼓励来cnode问这种问题,,,,
你需要这个 http://apps.eky.hk/css-triangle-generator/zh-hant
不要求兼容性的话可以试试clip-path