The “Border Triangle” Hack: How Does It Actually Work?
You have seen CSS triangles everywhere: carets next to dropdowns, tooltip tails, ribbon notches, and arrows. Many snippets call it the “border triangle” hack, but few explain the geometry. In this guided build, you will learn exactly why a zero-size box plus borders creates a triangle, how to control its direction and dimensions, and how … Read more