Loading tutorials
px, rem, and percentages. You should recognize semantic HTML elements such as header, main, aside, and footer. Media queries are not used yet.3 min readpx, rem, and %. It also assumes you can turn an element into a grid container with display: grid and set columns with grid-template-columns.3 min readheader, main, aside and footer, and how to make a grid with display: grid, grid-template-columns, fr units and gap. It covers the grid-template-areas property. The next chapter cover3 min readheader, main, aside, and footer. It also assumes you have already seen how grid-template-areas names regions on a grid container. Here you will connect those names to real elements.3 min readgrid-template-areas layout and assign items with grid-area. It covers the rules the browser enforces on an area map, and the errors you get when you break them.3 min readdisplay: grid container with fr units and gap. You will learn two functions that make track lists shorter and more flexible: repeat() and minmax().2 min readgrid-template-columns, and that you know fr units, gap, repeat() and minmax() from earlier chapters. It shows how to let the browser choose the column count so a card grid adapts to its container without media queries.3 min readrepeat() and minmax() and know what fr units and gap do. It also assumes you have seen repeat(auto-fit, minmax(200px, 1fr)) in the previous chapter.2 min readrepeat(), minmax(), and auto-fit work, and that you can read a basic grid declaration. You also need to be comfortable with px, rem, and percentages. The chapter covers one failure of the auto-fit pattern and the one-function fix for it.3 min readgrid-template-areas, grid-area, and how to write a media query. It shows how to change a page layout by redefining the area map at a breakpoint, without touching the HTML or the placement rules.3 min readgrid-template-areas, assign elements with grid-area, and use repeat(auto-fit, minmax()). It also assumes you know basic media queries.3 min readgrid-template-areas map and place items with grid-area, as covered in the earlier chapters. You should also be comfortable with numbered grid lines such as grid-column: 1 / 3.2 min readgrid-template-areas layout and place items with grid-area, as covered in earlier chapters. It explains one side effect of those tools: they change what users see, but they do not change the order of the HTML.3 min read