codipry.

Keyboard shortcuts

Use Ctrl on Windows/Linux or Command on macOS. Shortcuts respect focused text fields.

Ctrl/⌘ K
Open or close tool search
?
Open this reference outside text inputs
Escape
Close the active dialog
Ctrl/⌘ S
Save the current Playground project
Ctrl/⌘ Enter
Run the Playground preview
Tab
Move between controls; inside code typing, insert two spaces
Shift Tab
Move to the previous control

Monaco also provides its own command palette. Browser and operating-system shortcuts can take priority.

Start creating
Frontend PlaygroundcodeResponsive LabcodeGradient GeneratordesignBox Shadow GeneratordesignText Shadow GeneratordesignBorder Radius GeneratordesignFlexbox GeneratordesignCSS Grid GeneratordesignAnimation GeneratordesignGlassmorphism GeneratordesignClip Path GeneratordesignFluid Type GeneratordesignColor StudiodesignGit Command BuildergitGit VisualizergitMerge vs. RebasegitSQL Joins VisualizerdatabaseSQL Clause ExplorerdatabaseDatabase RelationshipsdatabaseSQL FormatterdatabaseSQL PlaygrounddatabaseTyping TestpracticeCode Typing TestpracticeJSON FormattercodeCSV / JSON ConvertercodeText DiffcodeRegex TestercodeEncoding ToolscodeHash GeneratorcodeTimestamp ConvertercodeCSS Transform GeneratordesignCSS Filter GeneratordesignDesign Token ExporterdesignGit Conflict TrainergitSQL Schema Explorerdatabase
Design / CSS Studio

Clip Path Generator

Cut geometric shapes with CSS polygon coordinates.

Opening CSS Studio…

How to use Clip Path Generator

A polygon clips the painted area of an element to connected vertices. Percentage coordinates make the silhouette scale with the element.

  1. Add at least three vertices. X moves from left (0%) to right (100%), and Y moves from top to bottom.
  2. Vertices connect in list order and the final point connects back to the first. Adjust both coordinate sliders for precise keyboard-accessible movement.
  3. Use the output on an image or decorative surface. Keep important text and focus indicators away from the clipped edges.

A practical starting point

A diagonal lower edge can add a gentle section transition without an extra image.

clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 100%);

Common mistakes

  • Crossing polygon edges may produce an unexpected fill. Keep points in perimeter order for a simple shape.
  • Clipping changes painting and hit testing, but the original rectangular box still occupies layout space.

Frequently asked questions

Will clipping wrap surrounding text around the shape?

No. clip-path clips painting. Text wrapping around shapes requires a separate layout technique such as shape-outside on a floated element.