How to change Unity's width height?

I'm using in a browser, however I found out changing the display style to none actually unloads the unityObject. I've read somewhere it's possible to change the width height of the unityObject to a 1x1 pixel so it's still running in the background while something else is displayed on the screen. Can anyone tell me how to do this or provide a link that sends me me in the right direction?

we used to run the Unity player in an IFrame and set the width, height of that to 1px to "hide" the player.