ant-design/components/button/demo/basic.md

17 lines
378 B
Markdown
Raw Normal View History

# Standard Button
2015-05-15 16:00:08 +08:00
- order: 1
2015-06-07 14:03:00 +08:00
按钮样式
2015-06-07 14:03:00 +08:00
`<button>`、`<a>` 或 `<input>` 元素添加按钮类即可使用 ant-design 提供的样式。
2015-05-15 16:00:08 +08:00
---
````html
2015-06-11 17:16:32 +08:00
<button class="ant-btn">Button</button>
<a href="javascript:;" class="ant-btn" role="button">Link</a>
<input class="ant-btn" type="button" value="Input" />
<input class="ant-btn" type="submit" value="Submit" />
2015-05-15 16:00:08 +08:00
````