javascript - Grid Stretch across the entire broswer. -
good day everyone,
im new javascript & css. need javascript or css code stretch out grid 5 x 2 along pictures entirely across browser width. example @ site http://www.cornell.edu/ middle of page grid layout. zoom in / out grid stretch out entire browser width no matter screen size. understand if using css method background-image cover feature width out entire browser not easy user edit not programmer. here information got far.
function resizejqgridwidth(grid_id, div_id, width) { $(window).bind('resize', function() { $('#' + grid_id).setgridwidth(width, true); //back original width $('#' + grid_id).setgridwidth($('#' + div_id).width(), true);//resized new width per window }).trigger('resize'); }
any suggestion great. alot!
do mean using
box-sizing:border-box; width: 20%;
on each image. allow 5 items across screen , log 5 physically total @ least max width of content area fit , re-size shrink screen..
Comments
Post a Comment