CodeToFun
Learn Programming Free
Tutorials
Languages
Features
News
About
Sign In
Tutorials
Languages
Features
News
About
Sign In
Back
/
CSS clip-path Property
CSS clip-path Property — polygon
Try It
Run
Reset
Save
Save to Google Drive
Sync with your Google account
Download HTML
Save to your device
Share
Full
HTML Code
Theme
Copy
clip-path: polygon
polygon(50% 0%, 100% 100%, 0% 100%)
connects three points into a triangle.
Lines:
0
| Characters:
0
Live Preview
Auto-refresh on Run