-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathindex.html
More file actions
108 lines (92 loc) · 2.2 KB
/
index.html
File metadata and controls
108 lines (92 loc) · 2.2 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
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
<!doctype html>
<html>
<head>
<title>ReactList Examples</title>
<script src='https://cdnjs.cloudflare.com/ajax/libs/react/15.3.0/react.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/react/15.3.0/react-dom.js'></script>
<script src='https://rawgit.com/reactjs/prop-types/master/prop-types.js'></script>
<script src='react-list.js'></script>
<script src='examples/index.js'></script>
<style>
body {
margin: 0;
font-family: 'Helvetica Neue', sans-serif;
}
a {
color: #38afd4;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.banner {
border: 0;
position: absolute;
right: 0;
top: 0;
}
.header {
background: #fff;
color: #ec7720;
font-size: 50px;
padding: 40px;
}
.example {
padding: 25px;
}
.props {
overflow: auto;
}
.component {
border: 10px solid #38afd4;
border-radius: 5px;
height: 300px;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.item {
background: linear-gradient(#fff, #eee);
line-height: 30px;
padding: 0 10px;
}
.axis-x .item {
display: inline-block;
line-height: 300px;
padding: 0;
text-align: center;
width: 150px;
}
.axis-x .component {
white-space: nowrap;
}
.square-item {
background: linear-gradient(#fff, #eee);
display: inline-block;
line-height: 100px;
text-align: center;
width: 100px;
}
.even {
background: linear-gradient(#ddd, #ccc);
}
@keyframes grow {
0% { max-height: 0; }
100% { max-height: 120px; }
}
.is-animated .item {
line-height: 120px;
overflow: hidden;
animation: grow 0.5s ease 0s;
}
</style>
</head>
<body>
<div id='main'></div>
<script>
window.ReactDOM.render(
window.React.createFactory(window.index.default)(),
document.getElementById('main')
);
</script>
</body>
</html>