I'm using transit plugin to rotate A<div>
. This rotate the element about center point, but I want to rotate them from bottom-center point. Is it possible?
It's the style of <div>
:
#triangle-down {
width: 0;
height: 0;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
border-top: 100px solid red;
}
Exactly I want rotate it from head of triangle in bottom.
UPDATE:
You can see the code here: http://jsfiddle.net/BbKLM/2/