3 ms·
For what it's worth (and not related to CSS), I added functionality to my canvas library to make canvas elements aware of their container's shape and size, so t
by rikroots 4y ago
For what it's worth (and not related to CSS), I added functionality to my canvas library to make canvas elements aware of their container's shape and size, so the graphical elements can dynamically rearrange/resize as required[1]. This extends to DOM elements in the library's stack environment[2]. Of course the library is Javascript, so not useful for JS-disabled browsers.
[1] - https://scrawl-v8.rikweb.org.uk/demo/canvas-034.html https://scrawl-v8.rikweb.org.uk/demo/canvas-034.html
[2] - https://scrawl-v8.rikweb.org.uk/demo/dom-016.html https://scrawl-v8.rikweb.org.uk/demo/dom-016.html