DEV Community

Discussion on: Calculate HTML Element width before render

Collapse
 
sstraatemans profile image
Steven Straatemans

Looks like there is a CSS solution after all.
It uses shape-outside and it has pretty good browser support
The only caveat is that you need to know the height of the element you want in the lower-right corner.
There is a great article about it on CSS-tricks