Loading tool...
Create custom border radius with individual corner control, linked/unlinked mode, px/% units, interactive corner sliders on preview, and 12 shape presets
Create custom CSS keyframe animations visually. Add keyframes, adjust timing, and preview animations in real-time.
Create stunning CSS gradients with linear/radial/conic types, angle control, position control, multiple color stops, 11 presets, and reverse/randomize features
Create CSS clip-path shapes with visual precision using drag-and-drop point manipulation and preset shapes. CSS clip-path transforms rectangular HTML elements into creative non-rectangular shapes—circles, polygons, organic blobs, and custom paths. This tool eliminates complex polygon coordinate syntax with intuitive visual editing. Drag points to customize shapes, add or remove points as needed, and preview changes in real-time with your own background images. Choose from 12+ preset shapes for quick starts (circle, triangle, hexagon, star, chevron, wave) or create completely custom shapes. Perfect for creative layouts, image masks, decorative elements, and artistic designs. The visual editor shows exactly how your shape will appear with real content, making iteration fast and intuitive. Generated CSS works across all modern browsers.
Mask images into custom shapes like circles, polygons, or organic blobs for artistic layouts.
Create uniquely-shaped decorative elements, dividers, and design accents that break from rectangular layouts.
Arrange content in creative non-rectangular shapes that grab attention and stand out from standard designs.
Create artistic cut-out effects, complex shapes for illustrations, and design experiments.
Present products or images in creative shapes that enhance visual appeal and engagement.
Create distinctive hero section shapes that establish unique visual identity and brand personality.
CSS clip-path defines a clipping region that determines which parts of an element are visible and which are hidden, effectively cutting the element into any desired shape. The concept originates from SVG (Scalable Vector Graphics), where the clipPath element has been available since the SVG 1.0 specification. CSS adopted and extended this capability through the CSS Masking Module Level 1, making it applicable to any HTML element without requiring SVG markup. Unlike border-radius, which only modifies corners, clip-path can create arbitrary shapes including triangles, pentagons, stars, and complex organic forms.
The clip-path property supports several shape functions. The circle() function creates circular clipping regions with configurable radius and center position. The ellipse() function produces oval shapes with independent horizontal and vertical radii. The inset() function creates rectangular clips with optional rounded corners, useful for creating inset effects or cropping content. The polygon() function is the most versatile, accepting a comma-separated list of x,y coordinate pairs that define the vertices of any polygon. Each coordinate can be specified as a percentage (relative to the element dimensions) or a fixed length, with percentage values enabling responsive shapes that scale with the element.
SVG clipping, accessed through clip-path: url(#clipId), provides even greater flexibility by allowing shapes defined with SVG path syntax including Bezier curves, arcs, and complex compound paths. The SVG path data mini-language uses commands like M (move to), L (line to), C (cubic Bezier curve), Q (quadratic Bezier curve), and A (arc) to describe virtually any shape mathematically. The path() function, introduced in CSS as a native alternative to SVG references, accepts the same path data syntax directly in CSS, eliminating the need for an SVG element in the DOM.
An important behavioral characteristic of clip-path is that clipped areas become non-interactive. Click events, hover states, and other pointer interactions only register within the visible clipped region, not on the hidden portions of the element. However, the element still occupies its full rectangular space in the document flow, meaning surrounding elements are positioned as if the clip-path were not applied. This distinction between visual appearance and layout behavior is significant for design: clip-path changes how an element looks but not how much space it occupies. CSS clip-path transitions are possible when both the starting and ending shapes use the same shape function with the same number of points, enabling creative morphing effects such as a circle expanding to reveal content or a polygon smoothly transforming into a different shape.
CSS clip-path defines a clipping region that determines which parts of an element are visible. Content outside the clip path is hidden, allowing you to create non-rectangular shapes like circles, polygons, and custom paths.
Yes, CSS clip-path can be animated with transitions or keyframe animations as long as the shapes have the same number of points. This enables creative reveal effects and shape morphing animations.
CSS clip-path supports circle(), ellipse(), polygon(), and path() functions. The polygon type is the most versatile, allowing you to create any shape by defining coordinate points.
Yes, clipped areas become non-interactive. Clicks and hover events only register within the visible clipped region. The element still occupies its full rectangular space in the document layout.
All processing happens directly in your browser. Your files never leave your device and are never uploaded to any server.