-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
81 lines (68 loc) · 1.46 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
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html {
font-family: Helvetica, Arial, sans-serif;
}
.complete {
/*background-color: #cfc;*/
}
.complete .sortable::before {
content: '';
}
.sortable {
background-color: #999;
height: 2px;
margin: 2px 0 2px 8px;
}
.column-heading,
.row-heading {
font-weight: bold;
margin: 0.67em 0;
}
.row .column-heading,
.sorter {
width: 120px;
font-size: 14px;
}
.row .row-heading,
.row .column-heading:first-child {
font-size: 14px;
width: 100px;
}
.sorter {
height: 100px;
}
.sorted {
background-color: #000;
}
.selected {
/*background-color: #f00;*/
}
.current {
/*background-color: #0f0;*/
}
.target::before {
content: '\25B6';
margin-left: -8px;
margin-top: -4px;
font-size: 8px;
float: left;
color: #f00;
}
.target {
/*background-color: #00f;*/
}
.row {
display: flex;
}
</style>
</head>
<body>
<h1>Sorting Algorithms</h1>
<p>A React-based visualization of different sorting algorithms to help understand their behavior, strenghts and weaknesses.</p>
<div id="content"></div>
<script src="dist/bundle.js"></script>
</body>
</html>