I am working on a website editor. I am using Bootstrap 5. I have toggle buttons that can be changed from mobile to desktop view. However when I adjust the width of this div the element won't responsively change, I found out that is because they will only responsively change to the width of actual window size.
Question is can I make a div behave like a window? Are there other alternatives that I can add elements into beside a div as a container?