-
Notifications
You must be signed in to change notification settings - Fork 7
/
issue-split-me.html
45 lines (44 loc) · 1.48 KB
/
issue-split-me.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Split Me Example</title>
<script src="https://unpkg.com/split-me/dist/split-me.js"></script>
<style>
body {
margin: 0px;
width: 100vw;
min-height: 100vh;
}
.dark {
background: black;
color: white;
}
.fill {
min-height: 100vh;
width: 100%;
}
.red {
background: red;
}
.blue {
background: blue;
}
</style>
</head>
<body>
<split-me n="2" sizes="0.2, 0.8" min-sizes="0.1, 0.0">
<div slot="0" class="fill dark"></div>
<div slot="1" class="fill"></div>
</split-me>
<style>
:root split-me {
--divider-thickness: 8px; /* Thickness of the divider */
--divider-color: lightgray; /* Background color of the divider */
--divider-shadow: none; /* Shadow of the divider */
--divider-image-h: url('https://raw.githubusercontent.com/MarcSkovMadsen/awesome-panel-extensions/master/assets/images/three_dots_vertical_5_18.png'); /* Background image of the divider when d="horizontal" */
--divider-image-v: url('https://raw.githubusercontent.com/MarcSkovMadsen/awesome-panel-extensions/master/assets/images/three_dots_horizontal_5_18.png'); /* Background image of the divider when d="horizontal" */
}
</style>
</body>
</html>