Files

36 lines
662 B
Markdown
Raw Normal View History

2018-10-12 15:37:13 -04:00
---
title: Add Columns with grid-template-columns
---
# Add Columns with grid-template-columns
2018-10-12 15:37:13 -04:00
---
## Problem Explanation
2018-10-12 15:37:13 -04:00
In this challenge, you are required to define columns for the grid.
---
## Hints
### Hint 1
2018-10-12 15:37:13 -04:00
You can define columns by declaring the following in your CSS codeblock:
```css
2018-10-12 15:37:13 -04:00
grid-template-columns: parameters;
```
2018-10-12 15:37:13 -04:00
where parameters is whatever you want it to be.
---
## Solutions
<details><summary>Solution 1 (Click to Show/Hide)</summary>
2018-10-12 15:37:13 -04:00
2018-10-26 14:06:47 -05:00
Since the challenge requires you to create three columns of 100px each, declare the following in your .container CSS codeblock:
2018-10-12 15:37:13 -04:00
```css
2018-10-12 15:37:13 -04:00
grid-template-columns: 100px 100px 100px;
```
</details>