0

I added a fiddle. I don't want spaces between the divs when they shrink.

http://jsfiddle.net/TnVEN/

$("#container").click(function(){




    $(".synth").css({
        'transition': 'all 1s',
        'transform': 'scale(0.5)',
         float:"right"             //Shouldn't this kill the spaces???


    });
})
William
  • 4,422
  • 17
  • 55
  • 108
  • Please try [transform-origin](http://www.w3schools.com/cssref/css3_pr_transform-origin.asp) to change position of transformed elements – Mamuz Oct 13 '13 at 17:34
  • Otherwise check this [answer](http://stackoverflow.com/questions/10858523/css-transform-with-element-resizing?answertab=active#tab-top) – Mamuz Oct 13 '13 at 17:46
  • Thanks. It looks like its what I'm going for. – William Oct 13 '13 at 17:51

0 Answers0