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

How to show in django cms breadcrumbs full path? -

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -