Skip to content

Commit e418654

Browse files
committed
Add examples to docs/
1 parent 583e161 commit e418654

35 files changed

+86715
-51
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ build/
33

44
*.log
55
*.js
6+
7+
!docs/**/*.js

docs/horizontal/css/main.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#app {
2+
font-size: 35px;
3+
}
4+
5+
body, html {
6+
max-height: 100%;
7+
margin: 0;
8+
}
9+
10+
body {
11+
padding: 20px;
12+
}
13+
14+
ul {
15+
margin: 0;
16+
}
17+
18+
li {
19+
display: inline-block;
20+
padding: 5px;
21+
background: lightgray;
22+
}
23+
24+
li + li {
25+
margin-left: 40px;
26+
}

docs/horizontal/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
6+
<meta name="description" content="Cycle.js example - Sortable"/>
7+
<link rel="stylesheet" href="css/main.css" type="text/css">
8+
<title>Cycle.js example - Sortable</title>
9+
</head>
10+
<body>
11+
<div id="app"></div>
12+
<script src="./index.js"></script>
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)