CSS Triangle Generator
Generate bounded border-based triangle CSS source.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Scope: Output is CSS source for a zero-size border triangle and is never rendered as markup.
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use CSS Triangle Generator
Fill in the fields:
- Direction: Up, Right, Down, Left.
- Triangle size (px): 1 to 1,000.
- Triangle colour.
Press “Generate triangle CSS”.
Copy the css source, or download it as triangle.css.

