<template>
  <div class="demo-layout-offset">
    <ui-row :gutter="20">
      <ui-col :span="6">
        <div class="grid-content bg-blue"></div>
      </ui-col>
      <ui-col
        :span="6"
        :offset="6">
        <div class="grid-content bg-blue"></div>
      </ui-col>
    </ui-row>
    <ui-row :gutter="20">
      <ui-col
        :span="6"
        :offset="6">
        <div class="grid-content bg-blue"></div>
      </ui-col>
      <ui-col
        :span="6"
        :offset="6">
        <div class="grid-content bg-blue"></div>
      </ui-col>
    </ui-row>
    <ui-row :gutter="20">
      <ui-col
        :span="12"
        :offset="6">
        <div class="grid-content bg-blue"></div>
      </ui-col>
    </ui-row>
  </div>
</template>

<script>
import { Row, Col } from "amumu-ui"
export default {
  components: {
    "ui-row": Row,
    "ui-col": Col,
  },
  data() {
    return {
      value: "",
    }
  },
}
</script>
<style lang="scss">
.demo-layout-offset {
  background: linear-gradient(to right, #F3F3F3 50%,#fff 50%);
  background-size: 80px 100%;
  .mm-row {
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }

    .grid-content {
      height: 76px;
      line-height: 76px;
      text-align: center;
    }
  }
  .bg-blue {
    opacity: 0.5;
    background: #0081F7;
    color: #fff;
  }
}
</style>
