-1

I have a css output and I want to write this code in .LESS I see it uses the ">" to target down.

how do you write that in less to target with ">"

.clever-menu ul.clever-mega-menu > li.level0.active > a span
gx2g
  • 319
  • 5
  • 18

1 Answers1

0

This is the equivalent in LESS

.clever-menu {
  ul.clever-mega-menu {
    > li.level0.active {
      > a span {
        color: black;
      }
    }
  }
}
Miguel Mota
  • 20,135
  • 5
  • 45
  • 64