From the course: Learning Foundation 6

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Block grids

Block grids - Foundation Tutorial

From the course: Learning Foundation 6

Start my 1-month free trial

Block grids

- [Instructor] The block grid is slightly different than the XY grid. In this case, let's say we have a stack of images like this that are coming from a server. We don't know how many images we're going to have, but we need to lay them out neatly on the web page. That could also of course work with a number of cards of content, with a header and an image, and maybe a little blurb of text and a Read More link. Maybe a series of those, or other types of containers that we need to lay out in a nice grid on the page. But again, we don't know how many of them there will be, or how many columns and rows we might need to have. What the block grid will do is place a series of these items, in this case, images, into rows and grids, and the number of items in each row can change with the size of the screen. So this document is blockgrid.html. It's inside of your exercise files for this particular video. Go ahead and copy that into your working folder. You're also going to need to copy over an…

Contents