element-plus/docs/examples/layout/responsive-layout.vue
Xc 4484d07d76
docs(components): [layout] bg-color caused by unocss cover (#8175)
* docs(components): [layout] unocss cover

* docs(components): [layout] unocss cover
2022-06-08 07:09:35 +00:00

28 lines
642 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>