lundi 23 avril 2018

LESS: set variable in if-statement

I need to set a variable depending on another variable passed to a mixin.

F.e.

#make-grid(@columns){
 when(@columns = 10){
  @a = 1;
 }
}

This is giving me a compile error "unrecognised input"

Aucun commentaire:

Enregistrer un commentaire