mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 03:08:21 +08:00
565a022963
docs(components): [layout] format responsive layout example
28 lines
646 B
Vue
28 lines
646 B
Vue
<template>
|
|
<el-row :gutter="10">
|
|
<el-col :xs="8" :sm="6" :md="4" :lg="3" :xl="1">
|
|
<div class="grid-content ep-bg-purple" />
|
|
</el-col>
|
|
<el-col :xs="4" :sm="6" :md="8" :lg="9" :xl="11">
|
|
<div class="grid-content ep-bg-purple-light" />
|
|
</el-col>
|
|
<el-col :xs="4" :sm="6" :md="8" :lg="9" :xl="11">
|
|
<div class="grid-content ep-bg-purple" />
|
|
</el-col>
|
|
<el-col :xs="8" :sm="6" :md="4" :lg="3" :xl="1">
|
|
<div class="grid-content ep-bg-purple-light" />
|
|
</el-col>
|
|
</el-row>
|
|
</template>
|
|
|
|
<style>
|
|
.el-col {
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.grid-content {
|
|
border-radius: 4px;
|
|
min-height: 36px;
|
|
}
|
|
</style>
|