CSS Triangle Generator
Generate pure CSS triangles and arrows with live preview using the border trick or clip-path.
Sobre esta ferramenta
Create pixel-perfect CSS-only triangles without any images or SVG. Choose from 8 directions: up, down, left, right, and all four diagonal corners. Control width, height, and color with instant live preview. Two techniques are generated side by side: the classic border-trick for maximum browser compatibility and the modern clip-path polygon approach. Also generates CSS arrows (border + rotation transform) for UI chevrons and pointers. Copy-paste ready CSS output for any approach.
Como usar
- 1 Select triangle direction (up, down, left, right, or diagonal corner).
- 2 Set the base width and height using the sliders.
- 3 Pick a fill color with the color picker.
- 4 Copy the border-trick CSS or the clip-path CSS — both are shown.
- 5 Use the Arrow section to generate a hollow arrow (chevron) CSS snippet.
Perguntas frequentes
Crie visualmente bordas, contornos e box-shadows CSS com prévia ao vivo e saída de código instantânea.
Visually generate CSS clip-path shapes — polygon, circle, ellipse, inset — with draggable handles, preset shapes, and live preview.
Create decorative SVG wave dividers for websites with live preview and one-click download.