Fit HTLM div size with a THREE.JS mesh size

Hello,

I am currently trying to fit an html div size with a mesh size.
I am using Box3 to get the size of my object but it is not working and I don’t understand what I am missing.

How can I get the correct size of my mesh according to its position in the worldspace ?

Here a simple example: Edit fiddle - JSFiddle - Code Playground

Have a nice day :slight_smile: