element-plus/packages/scrollbar/doc/basic.vue
2020-08-13 11:00:39 +08:00

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>