Find an error

Report a typo

Here is the code that should align grid items by the top right corner, but there is a mistake in the code. What value should be used for the align-items property?

.item {
  width: 50px;
  height: 50px;
  background: #2e9339;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(3, auto);
  grid-gap: 10px;
  justify-items: end;
  align-items: end;
}
Enter a short text

Create a free account to access the full topic