mirror of
https://github.com/wassname/cardsforscience.git
synced 2026-08-11 11:16:12 +08:00
Add event display and animation
This commit is contained in:
@@ -5,6 +5,20 @@ body {
|
||||
#detector {
|
||||
cursor: pointer;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
width: 400px; height: 400px;
|
||||
}
|
||||
|
||||
#detector canvas {
|
||||
position: absolute; left: 0; top: 0;
|
||||
}
|
||||
|
||||
#detector-core {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
#detector-events {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.bar rect {
|
||||
|
||||
Reference in New Issue
Block a user