LESS: Better to use inheritance or multiple classes
问题 I have a LESS file with an inputbase(){} class. I use it on a lot but not every input type. When I compile I have a lot of repeated styles in the outputted CSS file. I took a look out how bootstrap use LESS for their grid and they use the same approach; where column 1 etc would inherit from a column base class. Again this seems to generate a lot of CSS. Should I be using .inputbase .specificClass in every <input /> instead of using LESS inheritance? 回答1: Various Options, No Set Answer It's