I have a component based loosely on https://justmarkup.com/articles/2017-01-24-handling-states-on-resize-using-css-custom-properties. The main difference is that in my case, the