- How can borders make a triangle?
- By setting three of the four borders to `transparent` and one to a solid color, the remaining triangular corner becomes visible. Zero HTML elements required.
- What about custom angles?
- Adjust border widths to change the triangle's proportions. For arbitrary angles beyond equilateral, use clip-path or SVG.
- Can I rotate it to point in any direction?
- Yes — set the colored border to top, right, bottom, or left. Combine with transform: rotate() for angles in between.
- Is this technique outdated?
- Still widely used because it's zero-asset. clip-path is a modern alternative with full arbitrary shapes, but the border-triangle trick is smaller and has no rendering cost.