CSS Triangle Generator

Create triangles with the CSS border trick — pick a direction, size, and color. No images needed.

Live preview

CSS

.triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 100px solid #6366f1;
}