robert-o
1/18/2017 - 9:17 PM

Height equal to dynamic width (CSS fluid layout) http://stackoverflow.com/questions/5445491/height-equal-to-dynamic-width-css-fluid-layout

(function($)) {
  var cw = $('.child').width();
  $('.child').css({'height':cw+'px'});  
}(jQuery);