Transform CSS3

Rotate

transform:rotate(270deg);
-moz-transform:rotate(270deg);
-webkit-transform:rotate(270deg);

Skew

-webkit-transform: skew(5deg,5deg);

Translate

-webkit-transform: translate(3em,0);

Scale

-webkit-transform: scale(2);

Transforms

#submenu { 
background-color: #eee;
-webkit-transition: all 1s ease-in-out;
}
#submenu:hover {
background-color: #fc3;
-webkit-transform: rotate(360deg) scale(2);
}

Transition Timing Function Options

default, linear, ease-in, ease-out, ease-in-out, cubic-bezier
-webkit-transition: all 1s ease-in-out; }
-webkit-transition-timing-function: cubic-bezier(1,0,1,0);