Skip to content

Commit 4257a0d

Browse files
committed
Better graphics lol
1 parent cf32107 commit 4257a0d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/GameOfLife.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@
1717
padding:0;
1818
}
1919

20+
.Cell:hover {
21+
background-color:#777;
22+
}
23+
2024
.Cell.populated {
2125
background:black;
2226
}
27+
28+
.Cell.populated:hover {
29+
background-color:#f20000;
30+
background-image:url(./skull.svg);
31+
background-position: right;
32+
background-repeat: no-repeat;
33+
background-size:cover;
34+
}

src/skull.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)