|
Back to CSScss Lesson 5

CSS Grid

Powerful 2D layout system.

Grid Layout

CSS Grid Layout offers a grid-based layout system, with rows and columns, making it easier to design web pages without having to use floats and positioning.

css
.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
}

Try it yourself:

HTML
CSS
Result