26 lines
897 B
Markdown
26 lines
897 B
Markdown
---
|
||
title: Add Columns with grid-template-columns
|
||
localeTitle: Добавить столбцы с столбцами таблицы-шаблона
|
||
---
|
||
## Добавить столбцы с столбцами таблицы-шаблона
|
||
|
||
В этой задаче вам необходимо определить столбцы для сетки.
|
||
|
||
### намек
|
||
|
||
Вы можете определить столбцы, объявив следующее в кодеке CSS:
|
||
|
||
```css
|
||
grid-template-columns: parameters;
|
||
```
|
||
|
||
где параметры - это то, что вы хотите.
|
||
|
||
### Решение
|
||
|
||
Поскольку задача требует, чтобы вы создавали три столбца по 100 пикселей каждый, объявляйте followin в своем кодовом блоке .container CSS:
|
||
|
||
```css
|
||
grid-template-columns: 100px 100px 100px;
|
||
|
||
``` |