For stackoverflow I tend to make examples on codesandbox, both to play around with a problem and to make a working demo of something that is not working for someone else. This particular sandbox I like, because it works around a problem where iframes are essentially locked in the DOM when you place them, and if you move them in any way they reload. By using the bounding boxes of elements we can still move an iframe around by playing with its styling though.