less - LessCss - extending css on the fly -


i aware of can declare class :

.someclass { ... }  

and extend it

.otherclass { &:extend(.someclass all) }  

but .someclass has declared ?

in case callers apply logic , there no need someclass have logic declared well, placeholder similar css.

it nice if there &:extend(groupingfunction all) .

but maybe there already?

currently less don't support "placeholder-equivalent".

checkout issue: :extend mixins.

you can use "@import (reference)" feature "simulate" behavior can cause unexpected problems in cases (there quite few issues import reference feature).


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -