Grd是一个使用Flexbox布局的CSS网格框架。它很小只有512个字节(Gzip压缩)。
特点:
Simple: Provides just 2 base classes Grid and Cell and some modifiers. Light-weight: Only 512 bytes (Gzipped). Flexible: Easy to use Flexbox features.
安装:
# via npm $ npm install grd # via bower $ bower install grd
用法:
<div class="Grid"> <div class="Cell -3of12">3of12</div> <div class="Cell -9of12">9of12</div> </div>