Theo's Typesafe CultTTC
Theo's Typesafe Cult4y ago
21 replies
Tom

Creating polygons with borders in HTML and CSS

I have spent the better part of the day trying to come up with a robust way to create polygons with a consistent border on HTML / CSS. I have tried 4 different methods so far which are all pretty inadequate. which can be found here:
https://jsfiddle.net/op78fv6n/84/

Can someone help me figure out how to do this in a sane way?
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
Was this page helpful?