Hacker News new | ask | show | jobs
by 75c84fb8 5186 days ago
originEl if present overrides originX/Y. It wouldn't be too hard to build a similar tool that absolutely positions a canvas within an element, but there's a tradeoff in complexity. Setting a CSS background is a nice, simple approach.