CSS Transform does not affect document flow. The DOM element will take its original position and dimensions in the page stream.
So, if you have 3 squares of divs of the same size displayed in a row in a row and applying -webkit-transform: scale (2) to the center square, this square will scale up to 200% more, scale from the center of its original position and overlap both others square.
Reference example:
http://jsfiddle.net/ypnEk/
HTML:
<div class="square one"></div> <div class="square two"></div> <div class="square three"></div>
CSS:
.square{ margin-top:50px; width:50px; height:50px; display:inline-block; } .one{ background:#222; } .two{ background:#888; -webkit-transform: scale(2); } .three{ background:#ccc; }
source share