the company work @ using less , i'm trying understand particular selector method being used , hoping can explain use of dashes , parenthesis in example:
.style--heading-1(){ //properties }
with example provide, not 100% certain, i'm pretty confident company using specific naming convention called bem or maybe derivate. other frameworks (e.g. oocss) helps organizing big css projects. however, according strict bem, .style--heading-1
doesn't seem particularly naming... ;)
the ()
indicating parameterless mixin (function) in less.
why don't coworker give more information? there no shame in being willing learn.
Comments
Post a Comment