3

I have tried to append the values using +_ in less, but it throws the error

expected '}' but found '{'

in the dotless compiler. What did I miss?

.gradient(@brow){      
    @{brow}+_: ~"; background: @{brow}linear-gradient(top";
     // some content
  }
}

The error indicates in this lineL @{brow}+_:.

TylerH
  • 20,799
  • 66
  • 75
  • 101
Yahwe Raj
  • 1,947
  • 5
  • 25
  • 37
  • Isn't there one `}` too many in your snippet? There's 3 `{`, but 4 `}`. And `(top` seems to be missing the closing parenthesis – knittl Jul 23 '21 at 20:14

0 Answers0