
import { lgrid } from '../..';

<template>
    <m-row>
      <l-grid :span="12"><div class="col-box-2 col-box">12</div></l-grid>
      <l-grid :span="12"><div class="col-box-1 col-box">12</div></l-grid>
    </m-row>
    <m-row>
      <l-grid :span="8"><div class="col-box-1 col-box">8</div></l-grid>
      <l-grid :span="8"><div class="col-box-2 col-box">8</div></l-grid>
      <l-grid :span="8"><div class="col-box-1 col-box">8</div></l-grid>
    </m-row>
    <m-row>
      <l-grid :span="6"><div class="col-box-2 col-box">6</div></l-grid>
      <l-grid :span="6"><div class="col-box-1 col-box">6</div></l-grid>
      <l-grid :span="6"><div class="col-box-2 col-box">6</div></l-grid>
      <l-grid :span="6"><div class="col-box-1 col-box">6</div></l-grid>
    </m-row>
    <m-row>
      <l-grid :span="4"><div class="col-box-1 col-box">4</div></l-grid>
      <l-grid :span="2"><div class="col-box-2 col-box">2</div></l-grid>
      <l-grid :span="4"><div class="col-box-1 col-box">4</div></l-grid>
      <l-grid :span="6"><div class="col-box-2 col-box">6</div></l-grid>
      <l-grid :span="8"><div class="col-box-1 col-box">8</div></l-grid>
    </m-row>
  </template>
  
  <style lang="scss" scoped>
  .col-box {
    height: 34px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 34px;
  }
  .col-box-1 {
    background-color: #9eaaaf;
    color: #333;
  }
  .col-box-2 {
    background-color: #505050;
    color: #fff;
  }
  </style>