我有以下 iframe,其显示图表如下:-
<iframe id="customchart" src="https://apps.powerapps.com/play/*********" width="100%" height="500px"></iframe>
现在我想旋转 iframe,使图表看起来像这样:-
这可能吗,使用纯 JavaScript 或 CSS?
谢谢
我有以下 iframe,其显示图表如下:-
<iframe id="customchart" src="https://apps.powerapps.com/play/*********" width="100%" height="500px"></iframe>
现在我想旋转 iframe,使图表看起来像这样:-
这可能吗,使用纯 JavaScript 或 CSS?
谢谢
这对你有用吗?
注意:这将不起作用,因为https://apps.powerapps.com/play/******** * 不存在,但如果您输入其他站点 URL,它将起作用。
#customchart {
transform: rotate(90deg);
}
<iframe id="customchart" src="https://apps.powerapps.com/play/*********" width="100%" height="500px"></iframe>