You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
516 B

10 years ago
# Styled Button
- order: 2
预定义样式按钮:
使用下面列出的类即可创建带有预定义样式的按钮,我们通过样式来显示重要程度的不同。
`ant-btn-primary`、`ant-btn-default`、`ant-btn-ghost`
10 years ago
**注**: 当按钮文字为两个字时,中间需要**间隔一个字符**。
---
````html
<button class="ant-btn ant-btn-primary">主按钮</button>
<button class="ant-btn ant-btn-default">次按钮</button>
<button class="ant-btn ant-btn-ghost">幽灵按钮</button>
10 years ago
````