-2

Don't understand the: > div

.flex-container > div {
  background-color: #f1f1f1;  
}

found it here https://www.w3schools.com/css/tryit.asp?filename=trycss3_flexbox_flex-wrap_nowrap8

im sad
  • 1

1 Answers1

1

Your code will target all direct children elements of flex-container that are div elements.

This is how the > selector works in CSS.

Jan Thoresen
  • 71
  • 1
  • 8