cssPlus icon indicating copy to clipboard operation
cssPlus copied to clipboard

Webpack 2 plugin

Open AndreaCardamone opened this issue 7 years ago • 1 comments

Write a webpack2 plugin for cssPlus

AndreaCardamone avatar Mar 14 '17 08:03 AndreaCardamone

The idea is to avoiding the the nesting factor in building process.

For example

<div data-cssplus="EXTENDER>COLS>CELL(_FLEX)">content</div>

will become

<div class="EXTENDER">
  <div class="COLS">
    <div class="CELL _FLEX">
       content
    </div>
  </div>
</div>

Notice: this syntax is an indicative example

AndreaCardamone avatar Mar 14 '17 16:03 AndreaCardamone