Back to the Shapespark home page

Can html label use iframe to control the size of the shell

I use html label to use iframe box to enter the product page, how should I control the size of the outer frame, my product page only has mobile phone H5 and is in portrait mode

The HTML label size adapts to the content size, so if you make the content size responsive, the label will be responsive as well. I suggest using viewport-relative units vw and vh for the iframe size, for example:

<iframe style="width: 80vw; height: 80vh;" src="..."></iframe>