Here is a snippet to let you make CSS triangle easily.
Nice! This'll be very useful when designing dropdowns / carets. :-)
Super clever, nice approach. Did you know you can type @ instead of this?
YUSSS. Nothing like a good old CSS hack to save the day— And that's one less piece of code I need to write! :D
Nice one Black Ray - Here's a rebound I made of this: http://jrdn.io/haHy
This one allows you to set direction in options when you create it, handles error checking and tightens the bounding box to the intrinsic size.
Nice! I'll just drop this here to see if you're tempted to expand things ;)https://css-tricks.com/examples/ShapesOfCSS/