Split.js 视图分割工具 项目简介
Split.js 是一个轻量级的 JavaScript 工具,用于创建可调整的分割视图或者窗格。视图可以水平或者垂直分割,在两个元素间可以插入可拖动的 gutter。示例代码:.gutter { background-color: #eee; background-repeat: no-repeat; background-position: 50%;
cursor: move; cursor: grab; cursor: -moz-grab; cursor: -webkit-grab;
}.gutter.gutter-horizontal { background-image: url('grips/vertical.png');
}.gutter.gutter-vertical { background-image: url('grips/horizontal.png');
}
cursor: move; cursor: grab; cursor: -moz-grab; cursor: -webkit-grab;
}.gutter.gutter-horizontal { background-image: url('grips/vertical.png');
}.gutter.gutter-vertical { background-image: url('grips/horizontal.png');
}