I am wondering if it is possible and how one should approach a problem when:
- You want your page to be responsive
- You want to add custom background elements to your page (for example lines that connect different divs).
Now. I would like to these divs to rearrange as they need to. I would like these lines to connect to the centre of these divs. I agree to make these lines disappear on smaller screens but as long as it is ok I would like to keep them visible.
The problem could be applied to any kind of layout when you want to connect things with custom lines or components. I guess there is a solution with a lot of Javascript coding which I don't mind but I think that in the end these lines would be a part of DOM objects... and I have a feeling that it's wrong as I assume that DOM elements should carry data not graphics layout...
How should I tackle something like this?