Arrange the objects within the container so that they adhere to the top and bottom, as well as to the left edge:
Grid alignment: content
Grid alignments
Report a typo
Fill in the gaps with the relevant elements
.cards {
width: 400px;
height: 400px;
background-color: skyblue;
display: grid;
grid-template-columns: repeat(3, 1fr);
-content: space-between;
}
.card {
width: 5em;
height: 5em;
background-color: tomato;
padding: 0;
margin: 0;
}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.