You'd use transform-origin
for that :
$elie.css("-webkit-transform-origin", "50% 100%" );
or
transform-origin: 100% 40%;
-ms-transform-origin: 100% 40%; /* IE 9 */
-webkit-transform-origin: 100% 40%; /* Safari and Chrome */
-moz-transform-origin: 100% 40%; /* Firefox */
-o-transform-origin: 100% 40%; /* Opera */
FIDDLE
EDIT:
To rotate around the center of the .circle
element, it first needs a height, otherwise there is no center. Then you could use percentages, or the much handier center
property, like so:
transform-origin:center center;
DEMONSTRATION
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…