-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNode.css
More file actions
47 lines (47 loc) · 927 Bytes
/
Node.css
File metadata and controls
47 lines (47 loc) · 927 Bytes
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
.node {
border: 1px solid black;
font-size: 6px;
font-weight: bold;
width: 10px;
height: 8px;
overflow: hidden;
}
.start-node{
background-color: green;
}
.finish-node{
background-color: red;
}
.wall-node {
background-color: black;
animation-name: animatewall;
animation-duration: .1s;
}
.path-node{
background-color: yellow;
animation-name: animatepathnode;
animation-duration: 2s
}
.visited-node{
background-color: dodgerblue;
animation-name: animatevisited;
animation-duration: .1s;
}
.queue-node {
background-color: brown;
}
.weight-node{
background-color: darkblue;
}
@keyframes animatevisited {
from{background-color: aqua;}
to{background-color: aliceblue;}
}
@keyframes animatewall {
from{transform: scale(2);}
to{transform: scale(1);}
}
@keyframes animatepathnode {
from{background-color: darkgreen}
to{background-color: yellow}
}