CSS Clip-path 几何裁剪生成器

100% 浏览器本地・零服务器上传

在画布上交互式拖拽多边形顶点,生成任意几何多边形与裁剪遮罩

Geometric Shape Presets
Polygon Vertices (3)
Point 1
X Axis50%
Y Axis0%
Point 2
X Axis0%
Y Axis100%
Point 3
X Axis100%
Y Axis100%
Canvas Preview Options
Show Vertex Points & Outlines
Real-Time Clipped Canvas
Clipped Visual
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
-webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);

制作多边形裁剪步骤

  1. 1选择几何预设(三角形、六边形、星形、箭头)或从空白画布开始。
  2. 2拖动画布上的各个顶点调整多边形轮廓。
  3. 3复制输出的 `clip-path: polygon(...)` CSS 规则直接应用。

GPU 硬件加速渲染

CSS `clip-path` 裁剪由浏览器合成器和显卡 GPU 直接加速,比大尺寸图片遮罩拥有更出色的帧率与流畅度。

Architecture & Privacy

  • Full WebKit Vendor Prefixes: Includes standard clip-path and -webkit-clip-path for complete iOS Safari support.
  • Polygon percentage coordinates: Scales responsively with any aspect ratio container.
  • SVG Vector Wireframe Overlay: Shows numbered anchor points and connect lines in real time.
  • Zero runtime library overhead: Pure client-side calculations rendered directly through the CSS engine.

常见问题解答 (FAQ)

相关开发者工具