Align the grid items

Report a typo

Write CSS code to stretch the grid items to fill the entire height of the element along the column axis.

Write HTML and CSS code
<!DOCTYPE html>
<html>
<head>
<title>Grid elements</title>
</head>
<body>
<div class="grid-container">
<div class="item"></div>
<div class="item item--special"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item item--special"></div>
<div class="item"></div>
</div>
</body>
</html>














Completed 0 of 1
Stretch the grid items with "item--special' class to fill the entire height of the element
___

Create a free account to access the full topic