diff options
| author | Rubén Beltrán del Río <ben@nsovocal.com> | 2017-02-19 03:42:55 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-19 03:42:55 -0600 |
| commit | db32a40a558bcc51609d3059079112027507760e (patch) | |
| tree | 00ec8cf72751150b849681bdb9f4a20bc84355f3 /css | |
| parent | 1f2f740399985b805241fb7eeea55a0fc2acdb65 (diff) | |
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
Diffstat (limited to 'css')
| -rw-r--r-- | css/app.css | 9 |
1 files changed, 9 insertions, 0 deletions
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; } |