News for hackers. Stuff that matters.
Re:The Shapes of CSS by alecperkins on Monday May 28, 2012 @01:23PM (#4034187)
Since it's basically a rounding error, I'm not sure if there's any way to avoid the gap without some overlap. In that example, a :before pseudo-element that's the same width as the box and one pixel above the triangle can provide the overlap without needing to offset the triangle itself.

http://jsfiddle.net/enTz9/

There are no comments on this comment yet.