diff options
Diffstat (limited to 'tools/gencss.js')
-rw-r--r-- | tools/gencss.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/gencss.js b/tools/gencss.js new file mode 100644 index 0000000..4edc4be --- /dev/null +++ b/tools/gencss.js @@ -0,0 +1,5 @@ +const h = 42 +for (let i = 0; i < 15; ++i) + console.log(`.service_marker.image${i}{background-position:0 -${i*h}px}`) +for (let i = 0; i < 15; ++i) + console.log(`.service_marker.image${i}:hover{background-position:100% -${i*h}px}`) |