mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 09:20:51 +08:00
21 lines
310 B
Vue
21 lines
310 B
Vue
<template>
|
|
<div class="outter">
|
|
<el-scrollbar style="height: 200px">
|
|
<div class="inner"></div>
|
|
</el-scrollbar>
|
|
</div>
|
|
</template>
|
|
|
|
|
|
<style scoped>
|
|
.outter {
|
|
background: #EEE;
|
|
}
|
|
.inner {
|
|
height: 500px;
|
|
width: 500px;
|
|
background: linear-gradient(red, yellow, blue);;
|
|
}
|
|
</style>
|
|
|