This repository has been archived by the owner on May 5, 2020. It is now read-only.
forked from joaompneves/react-virtualized-list
-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
68 lines (58 loc) · 1.69 KB
/
index.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
<html>
<head>
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no, minimum-scale=1.0">
<script data-main="bin/index" src="bin/require.js"></script>
<style>
body {
font-family: "Arial";
}
.list {
height: 300px;
overflow-y: scroll;
border: 1px solid gray;
line-height: 100px;
}
.list-item {
border-bottom: 1px solid lightsteelblue;
background: rgb(230, 230, 230);
padding: 10px;
}
.list-item.odd {
background: rgb(150, 150, 150)
}
.list-item .spacer {
height: 600px;
}
.list-item.odd .spacer {
height: 300px;
}
.list-item img {
max-width: 100%;
display: block;
}
.list-item.example-appear,
.list-item.odd.example-appear,
.list-item.example-enter,
.list-item.odd.example-enter {
height: 0;
transform: scale3d(1, 0, 1);
}
.list-item.example-appear-active,
.list-item.odd.example-appear-active,
.list-item.example-enter-active,
.list-item.odd.example-enter-active {
transition: all 1s ease-in;
transform: scale3d(1, 1, 1);
}
.list-item.example-leave-active,
.list-item.odd.example-leave-active {
height: 0px;
transition: all 1s ease-in;
}
</style>
</head>
<body>
<div id="container"/>
</body>
</html>