In this task, create the gap of 20 pixels between the rows, and the gap of 50 pixels between the columns.
Grid gaps
The column and row gap property
Report a typo
Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Example</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="item-one">Item 1</div>
<div class="item-two">Item 2</div>
<div class="item-three">Item 3</div>
<div class="item-four">Item 4</div>
<div class="item-five">Item 5</div>
<div class="item-six">Item 6</div>
</div>
</body>
</html>
Completed 1 of 3
The gap between the columns is set to 50px
The gap between the rows is set to 20px
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.