hicTech / cssPlus

Robust, fast and cross browser layout scaffolding based on Flexbox.

Home Page:http://hictech.github.io/cssPlusWebsite/home.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack 2 plugin

AndreaCardamone opened this issue · comments

Write a webpack2 plugin for cssPlus

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