Element-ui的layout中gutter

2018-08-01  本文已影响0人  liuyangjike

## 直接上代码

`

<el-row :gutter=20>

    <el-col :span=8 ><div style="background-color: red">2</div></el-col>

    <el-col :span=8 >div style="background-color: green">2</div></el-col>
    <el-col :span=8 >div style="background-color: green">2</div><el-col>

</el-row>

`

## 效果

上一篇下一篇

猜你喜欢

热点阅读