naive-ui/demo/documentation/components/grid/enUS/basic.demo.md
07akioni 487001d697 build: add changelog to site, refactor loader based on suffix
.demo.md for component demo
.demo-entry.md for demo entry
.md for common docs
2020-08-19 23:30:04 +08:00

461 B

Basic

<n-row gutter="12">
  <n-col :span="6">
    <div class="light-green"></div>
  </n-col>
  <n-col :span="6">
    <div class="green"></div>
  </n-col>
  <n-col :span="6">
    <div class="light-green"></div>
  </n-col>
  <n-col :span="6">
    <div class="green"></div>
  </n-col>
</n-row>
.light-green {
  height: 108px;
  background-color: rgba(0, 128, 0, .12);
}
.green {
  height: 108px;
  background-color: rgba(0, 128, 0, .24);
}