Question about keyframes and rotate

So… i have a block that is 100px width/height. If i want the block to spin around its top right corner, how should my keyframe/animation look like? I do not want it to rotate around its center.

this is how my code looks like atm:

http://codepen.io/ReGGae/pen/CBltv

Try Googling on “css transform origin”. I haven’t used it myself, but I think it’s what you’re looking for.