mik*_*ike 3 html css presentation reveal.js
我希望在reveal.js演示文稿中将嵌入式iframe设置为全屏(或全屏的调整百分比). 这个讨论暗示我可以将iframe设置为背景,但这会返回默认背景:
<section data-background="http://viz.healthmetricsandevaluation.org/fgh">
</section>
Run Code Online (Sandbox Code Playgroud)
我也尝试将iframe放在带有类拉伸的div中,但它只占屏幕的一定百分比:
<div class = "stretch">
<iframe width="100%" height="100%" src="http://viz.healthmetricsandevaluation.org/fgh"></iframe>
</div>
Run Code Online (Sandbox Code Playgroud)
小智 7
也许你已经弄清楚了,这似乎是最近的进步:
<section data-background-iframe="https://github.com/hakimel/reveal.js">
</section>
Run Code Online (Sandbox Code Playgroud)
参考:https: //github.com/hakimel/reveal.js/pull/1029