-1

This is a basic question, but I cant find answer anywhere. So do you guys know what does > do within CSS?

.row > div > div {
    height: 100%;
    width: 100%;
}
Ivar
  • 5,377
  • 12
  • 50
  • 56
Libor
  • 33
  • 6

2 Answers2

1

It is immediate child selector.

https://developer.mozilla.org/en-US/docs/Web/CSS/Child_combinator

Prajwal
  • 3,653
  • 3
  • 24
  • 46
0

It's mean (children of). So in your code, that line means: Get the div element that has a parent div, and the parent div has a parent element that has a class named "row".

ASammour
  • 688
  • 7
  • 10