* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
36 lines
731 B
Markdown
36 lines
731 B
Markdown
---
|
|
title: Align All Items Vertically using align-items
|
|
---
|
|
# Align All Items Vertically using align-items
|
|
|
|
---
|
|
## Problem Explanation
|
|
In this challenge you are required to use the "align-items" property to vertically align all the items in the grid.
|
|
|
|
|
|
---
|
|
## Hints
|
|
|
|
### Hint
|
|
|
|
You can vertically align the items by declaring the following in your CSS codeblock:
|
|
|
|
```css
|
|
align-items: value;
|
|
```
|
|
|
|
where value is how you could like to vertically align the items.
|
|
|
|
|
|
---
|
|
## Solutions
|
|
|
|
<details><summary>Solution 1 (Click to Show/Hide)</summary>
|
|
|
|
Since the challenge requires you to move all the items to the end of each cell (vertically), declare the following in your .container CSS codeblock:
|
|
|
|
```css
|
|
align-items: end;
|
|
```
|
|
|
|
</details> |