How to create a triangle with css by releu

757fb0d5ec7560b6f25f5bd98eadc020?size=52

When you wanna create a simple triangle you probably don't want to create a new image, then create a double-sized version for retina and so on..

There is a solution for triangles - css borders. They can be used for creating any triangles you need :) More under the cut

CSS Push Up Effect by svizion

429930498ee3f2c329a5251883616719?size=52

gist:2661088 #css #css3

If I remember correctly it takes any Font Face and adds a basic

top: 9px;
position: absolute;

Style to them for all browsers and devices that can use them. It's been awhile since I used it honestly I was just cleaning up my gists and found it again..

Go forth and Propagate!