ant-design-vue/components/divider/demo/customize-style.vue

24 lines
501 B
Vue

<docs>
---
order: 3
title:
zh-CN: 样式自定义
en-US: Style Customization
---
## zh-CN
测试一些 `style` 修改样式的行为
## en-US
Use `style` to change default style.
</docs>
<template>
<a-divider style="height: 2px; background-color: #7cb305" />
<a-divider style="border-color: #7cb305" dashed />
<a-divider type="vertical" style="height: 60px; background-color: #7cb305" />
<a-divider type="vertical" style="height: 60px; border-color: #7cb305" dashed />
</template>