freeCodeCamp/guide/russian/certifications/responsive-web-design/css-grid/add-columns-with-grid-templ.../index.md

26 lines
897 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
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;
```