Didn't know this technique to draw triangles. Cool. css-tricks has an article on that http://css-tricks.com/snippets/css/css-triangle/.