These are chat archives for less/less.js

25th
May 2018
plexigras
@plexigras
May 25 2018 17:44 UTC
how do i do this right .a{ &b{ color:red; } } .b{ .ab; }?
plexigras
@plexigras
May 25 2018 18:38 UTC
same goes for .b:extend(.ab){}
i really thought this should work
Eric Eastwood
@MadLittleMods
May 25 2018 20:03 UTC
@plexigras Can you expand on what your expected output is?
plexigras
@plexigras
May 25 2018 20:29 UTC
.ab {color:red;}.b{color:red;} and .ab, .b {color:red;}
Eric Eastwood
@MadLittleMods
May 25 2018 20:43 UTC
@plexigras I played around with it a bit. I guess it should work but it might be a known limitation of parent selectors & (extend not lazy evaluated like variables)