-
Notifications
You must be signed in to change notification settings - Fork 0
/
HtmlPage6.html
123 lines (108 loc) · 3.69 KB
/
HtmlPage6.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!doctype html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>sss</title>
<style>
.example-1 {
height: 600px;
border: 1px solid #ddd;
border-radius: 14px;
}
#one, #two {
padding: 20px;
}
#one p {
padding: 0;
}
.example-4, .example-5 {
height: 400px;
}
.split p {
padding: 20px;
}
.split {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
overflow-y: auto;
overflow-x: hidden;
}
.gutter {
background-color: #eee;
background-repeat: no-repeat;
background-position: 50%;
cursor: move;
cursor: -moz-grab;
cursor: -webkit-grab;
}
.gutter:active {
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
}
.gutter.gutter-horizontal {
background-image: url('Content/img/vertical.png');
}
.gutter.gutter-vertical {
background-image: url('Content/img/horizontal.png');
}
.split.split-horizontal, .gutter.gutter-horizontal {
height: 100%;
float: left;
}
</style>
</head>
<body>
<article class="htmleaf-container">
<a href="index.html" class="current">DEMO1</a>
<a href="index2.html">DEMO2</a>
<!--<div class="container">-->
<div class="row example-1">
<div id="one" class="split split-horizontal">
<p>Split.js is a lightweight, unopinionated utility for creating adjustable split views or panes.</p>
<p>
No dependencies or markup required, just two or more elements with a common parent.
</p>
<p>
Views can be split horizontally or vertically, with draggable gutters inserted between every two elements.
</p>
</div>
<div id="two" class="split split-horizontal">
<h5>Documentation</h5>
<hr>
<pre><code>Split(<selector[]> selectors, <options> options?)</code></pre>
<table class="u-full-width">
<thead>
<tr>
<th>Options</th>
<th>Type</th>
<th>Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>sizes</td>
<td>Array of numbers</td>
<td></td>
<td>Initial sizes of each element in percents.</td>
</tr>
<tr>
<td>minSize</td>
<td>Number or array</td>
<td>100</td>
<td>Minimum size of each element.</td>
</tr>
</tbody>
</table>
</div>
</div>
<!--</div>-->
</article>
<script src="Scripts/split/split.min.js"></script>
<script>
</script>
</body>
</html>