Skip to tool content

CSS Triangle Generator

Create CSS triangles with adjustable direction, size, and color.

Try the CSS Triangle Generator

Create CSS triangles with adjustable direction, size, and color.

#css#triangle#shape#generate
#6366f1
100px
100px
Result

CSS

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

MD. Mohi Minul Islam Yash

Full-Stack Software Engineer

© 2026 MD. Mohi Minul Islam Yash. All rights reserved.