Bộ Tạo Hình & Cắt Khối CSS Clip-Path
Tạo các hình khối đa giác polygon tùy chỉnh và đường cắt CSS clip-path với khung kéo thả điểm đỉnh trực quan, kho hình khối phong phú và xuất mã Tailwind / SVG nhanh chóng.
✂️ CSS Clip-Path & Shape Generator
Create custom geometric shapes, polygon cutouts, and responsive CSS clip-paths with an interactive draggable vertex canvas, rich presets, and instant Tailwind / SVG export.
🎯 Interactive Vertex Editor
Click and drag any point to reshape. Double-click or click an edge to add points.
📍 Point Coordinates (%)
3 points/* CSS clip-path */ -webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%); clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
📖 Mastering CSS Clip-Path for Modern Web Design
What is CSS clip-path?
The CSS clip-path property creates a clipping region that sets what part of an element should be shown. Parts inside the region are visible, while parts outside are hidden.
Polygon Syntax & Percentages
Polygon coordinates are written in pairs of X Y percentages: `polygon(x1 y1, x2 y2, ...)`. Using percentage units ensures the shape scales seamlessly across responsive viewports.
Performance & GPU Acceleration
Because clipping is calculated by the GPU compositor, animating clip-paths creates silky-smooth 60fps morphing effects without triggering costly layout reflows.
❓ Frequently Asked Questions
Can I use clip-path on images and videos?
Yes! Clip-path works on any HTML element, including <img>, <video>, <div> containers, buttons, and hero banners.
Is CSS clip-path supported by all modern browsers?
Yes, modern Chromium (Chrome, Edge, Brave), Firefox, and Safari support standard `clip-path: polygon()` and `clip-path: circle()`. For older Safari versions, `-webkit-clip-path` is also included.
How do I animate or morph between two shapes?
To animate between shapes using CSS transitions or keyframes, both shapes must have the exact same number of vertices (points).
Related Tools
Tailwind ↔ CSS Converter
Convert between Tailwind CSS classes and vanilla CSS styles
Color Picker
Pick colors and convert between HEX, RGB, HSL formats
Aspect Ratio & Screen PPI Calculator
Calculate, simplify, and resize aspect ratios for videos, photos, and displays. Includes a screen PPI (Pixels Per Inch) density and dot pitch calculator.
CSS Unit Converter
Convert between px, rem, em, pt, %, and viewport units instantly
Glassmorphism & Neumorphism Generator
Design modern frosted glass UI elements with real-time preview. Copy pure CSS, Tailwind CSS v4 classes, or React inline styles.
Box Shadow & Glassmorphism
Interactive CSS box-shadow and glassmorphism generator with multi-layer shadows and live preview.
Need a specific tool, app, or extension?
AnyTools is a 100% free open-source project for creators and developers. If you have an idea for a missing tool, extension, or productivity feature, let us know via email. If you're a developer and want to contribute code, our GitHub repository is always open for pull requests!