From db32a40a558bcc51609d3059079112027507760e Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Sun, 19 Feb 2017 03:42:55 -0600 Subject: Add resize and smooth movement (#1) * Resize heart on wheel movement * Hide cursor * Add smooth movement and cursor when moving * Add smooth resize for heart --- css/app.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'css') diff --git a/css/app.css b/css/app.css index 5f63708..2a4aa95 100644 --- a/css/app.css +++ b/css/app.css @@ -3,7 +3,16 @@ padding: 0; } +body { + overflow: hidden; +} + #heart-app-entry-point { height: 100vh; width: 100vw; + cursor: none; +} + +#heart-app-entry-point .mouse-moving { + cursor: crosshair; } -- cgit