Skip to content
This repository has been archived by the owner on Jul 7, 2018. It is now read-only.

responsive image and area #20

Open
bonucci opened this issue Sep 27, 2016 · 1 comment
Open

responsive image and area #20

bonucci opened this issue Sep 27, 2016 · 1 comment

Comments

@bonucci
Copy link

bonucci commented Sep 27, 2016

Is it possible to turn this canvas and image responsive?

@xeux
Copy link

xeux commented Nov 16, 2016

Adding the following CSS will help to make the image responsive:

background-size: contain;

Still the canvas maintains the initial size, in result the coordinates will be for the initial image size.

If anyone know how to work around this please let us know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants