More interactive example

This commit is contained in:
Tim Schaub
2015-02-07 11:52:03 -07:00
parent 2c82ca86f0
commit 6740ca9ee8
3 changed files with 181 additions and 13 deletions

31
examples/raster.css Normal file
View File

@@ -0,0 +1,31 @@
.rel {
position: relative
}
#plot {
pointer-events: none;
position: absolute;
bottom: 10px;
left: 10px;
}
.bar {
pointer-events: auto;
fill: #AFAFB9;
}
.bar.selected {
fill: green;
}
.tip {
position: absolute;
background: black;
color: white;
padding: 6px;
font-size: 12px;
border-radius: 4px;
margin-bottom: 10px;
display: none;
opacity: 0;
}