I'm trying to create a component demo container where a user can drag a slider to change the width of the container to see the responsive component changing. Please see the first component here. The components have media queries and not container styling.
How can I make the size of the container force the component to adjust as if it's the actual screen size?