I had to hide some iframes recently and couldn't quite work out the styling I needed to apply

Inline styles with display set to none? Zero width and height? Just hide it with opacity?

The answer is a css style applied,

govuk-visually-hidden