mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
361 B
361 B
偏移
<n-row :gutter="12">
<n-col :span="6" :offset="6">
<div class="light-green"></div>
</n-col>
<n-col :span="6" :offset="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);
}