-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
  • 6,138
  • 12
  • 49
  • 61
Libor
  • 33
  • 1
  • 7

2 Answers2

1

It is immediate child selector.

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

Prajwal
  • 3,930
  • 5
  • 24
  • 50
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
  • 865
  • 9
  • 12