Please see this Fiddle - http://jsfiddle.net/joshnh/73g7t/
I am not clear about some of the things in it.
- DIV is a block level element(so it starts and ends with a line break). Then why are the divs placed side by side? Does float remove the line breaks of block level elements?
- In the definition of
.wrapper div, the code for rotate -transform: rotate(15deg);is already present. Then why is there anothertransform: rotatein.wrapper .translateBUT not in.wrapper .transform-origin