Repository navigation
Expand file tree
/
Copy pathbtns.html
More file actions
64 lines (64 loc) · 3.02 KB
/
Copy pathbtns.html
File metadata and controls
64 lines (64 loc) · 3.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
layout: demo
title: SUI Mobile Demo
---
<header class="bar bar-nav">
<a class="button button-link button-nav pull-left" href="/demos" data-transition='slide-out'>
<span class="icon icon-left"></span>
返回
</a>
<h1 class="title">按钮</h1>
</header>
<div class="content" id='page-btns'>
<div class="content-block-title">默认按钮</div>
<div class="content-block">
<p><a href="#" class="button">Usual Button 1</a></p>
<p><a href="#" class="button button-success">success button</a></p>
<p><a href="#" class="button button-danger">danger button</a></p>
<p><a href="#" class="button button-warning">warning button</a></p>
</div>
<div class="content-block">
<p><a href="#" class="button button-round">Round Button 1</a></p>
</div>
<div class="content-block">
<p><a href="#" class="button button-big">Big Button </a></p>
<p><a href="#" class="button button-big button-round">Big Round Button </a></p>
</div>
<div class="content-block-title">按钮组</div>
<div class="content-block">
<p class="buttons-row"><a href="#" class="button">Button 1</a><a href="#" class="button">Button 2</a><a href="#" class="button">Button 3</a></p>
<p class="buttons-row"><a href="#" class="button active">Button 1</a><a href="#" class="button">Button 2</a><a href="#" class="button">Button 3</a></p>
<p class="buttons-row"><a href="#" class="button button-round">Button 1</a><a href="#" class="button button-round">Button 2</a></p>
<p class="buttons-row"><a href="#" class="button button-round">Button 1</a><a href="#" class="button button-round active">Button 2</a></p>
</div>
<div class="content-block-title">填充按钮</div>
<div class="content-block">
<p><a href="#" class="button button-fill">Fill Button </a></p>
<p><a href="#" class="button button-fill button-success">Fill Button </a></p>
<p><a href="#" class="button button-fill button-danger">Fill Button </a></p>
<p><a href="#" class="button button-fill button-warning">Fill Button </a></p>
</div>
<div class="content-block-title">列表按钮</div>
<div class="list-block">
<ul>
<li><a href="#" class="item-link list-button">List Button 1</a></li>
<li><a href="#" class="item-link list-button">List Button 2</a></li>
<li><a href="#" class="item-link list-button">List Button 3</a></li>
</ul>
</div>
<div class="content-block-title">内联列表按钮</div>
<div class="list-block inset">
<ul>
<li><a href="#" class="item-link list-button">List Button 1</a></li>
<li><a href="#" class="item-link list-button">List Button 2</a></li>
<li><a href="#" class="item-link list-button">List Button 3</a></li>
</ul>
</div>
<div class="content-block-title">使用栅格来布局按钮</div>
<div class="content-block">
<div class="row">
<div class="col-50"><a href="#" class="button button-big button-fill button-danger">Cancel</a></div>
<div class="col-50"><a href="#" class="button button-big button-fill button-success">Submit</a></div>
</div>
</div>
</div>