Streaming live at 10am (PST)

Making Objects Fill Screen Horizontally

Hi there, i’m working on a section where there are 5 square images, I’d like to find a way for the items to automatically fill the screen horizontally, so that no matter the size of the web browser they resize perfectly to fill the window.

The section I’m referring to is the “FeaturedBoxes”.


  • Michael.

Also remove this width and height from this thing here.

Also remove width from image itself:

Add the following code to Webflow Custom Code in second field.

$(document).ready(function() {
	$('.featureditem').css('width', $(window).width()/5);
	$(window).resize(function() {
		$('.featureditem').css('width', $(window).width()/5);