Suppose you want to have a list of items (.item) displayed in a row and in reverse order using flexbox. What is the error in the CSS below?

.container {
display: flex;
}
.item {
border: 1px solid red;
flex-direction: row-reverse;
}

  • The value for flex-direction should be reverse-row.
  • The .container element should have a property of flex: display.
  • The flex-direction property should be declared in the container.
  • The display value should be flex-inline to display the items in a row.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment

Share via
G Certification Course We would like to show you notifications for the latest news and updates.
Dismiss
Allow Notifications
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend