Ferramentas Guias
Design Gratuito Sem cadastro

CSS Triangle Generator

Generate pure CSS triangles and arrows with live preview using the border trick or clip-path.

Carregando ferramenta…

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. 1 Select triangle direction (up, down, left, right, or diagonal corner).
  2. 2 Set the base width and height using the sliders.
  3. 3 Pick a fill color with the color picker.
  4. 4 Copy the border-trick CSS or the clip-path CSS — both are shown.
  5. 5 Use the Arrow section to generate a hollow arrow (chevron) CSS snippet.

Perguntas frequentes

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}