forked from TamimEhsan/AlgorithmVisualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcell.css
More file actions
59 lines (51 loc) · 1.1 KB
/
cell.css
File metadata and controls
59 lines (51 loc) · 1.1 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
.cell{
height:50px;
width:50px;
background-color: white;
outline:1px solid rgb(175, 216, 248);
display: inline-block;
font-size: 25px;
text-align: center;
color: black;
border-radius: 5px 5px;
}
.cell-prime{
background-color: #00f51d;
animation-name: isPrime;
animation-duration: 1s;
animation-delay: 0s;
animation-iteration-count: 1;
animation-timing-function: linear;
}
@keyframes isPrime {
0% {
transform: rotate(90deg);
background-color: rgba(0, 0, 66, 0.75);
border-radius: 100%;
}
50% {
background-color: rgba(17, 104, 217, 0.75);
transform: scale(1.5);
}
75% {
background-color: rgba(0, 217, 159, 0.75);
transform: rotate(270deg);
}
100% {
background-color: rgba(0, 190, 218, 0.75);
transform: rotate(360deg);
}
}
.cell-check{
background-color: grey;
}
.cell-visiting{
outline:3px solid rgb(175, 216, 248);
animation-name: isVisiting;
animation-duration: 1s;
}
@keyframes isVisiting {
50%{
transform: scale(1.5);
}
}