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
Post a Comment