ant-design-vue/components/button/demo/ghost.md

21 lines
577 B
Markdown
Raw Normal View History

2018-01-24 14:53:45 +00:00
<cn>
#### 幽灵按钮
幽灵按钮将其他按钮的内容反色,背景变为透明,常用在有色背景上。
</cn>
<us>
#### Ghost Button
`ghost` property will make button's background transparent, it is common used in colored background.
</us>
2018-02-07 10:44:11 +00:00
2018-01-24 14:53:45 +00:00
```html
2017-11-03 10:46:18 +00:00
<template>
<div :style="{ background: 'rgb(190, 200, 200)', padding: '26px 16px 16px' }">
2018-01-23 10:55:39 +00:00
<a-button type="primary" ghost>Primary</a-button>
<a-button ghost>Default</a-button>
<a-button type="dashed" ghost>Dashed</a-button>
<a-button type="danger" ghost>danger</a-button>
2017-11-03 10:46:18 +00:00
</div>
</template>
2018-01-24 14:53:45 +00:00
```