Javascript 如何在HTML5中添加“iframe”作为背景

Javascript 如何在HTML5中添加“iframe”作为背景,javascript,html,iframe,Javascript,Html,Iframe,如何在HTML5中添加iframe作为背景。。。 我有一个动画和它在HTML5页面上。我想把这个html页面作为另一个HTML5页面的背景。。。我该怎么办? 我的代码是: <iframe src="js/particles/background/index.html" seamless width="100%" height="100%"></iframe> <li style="transform: scaleX(-1);o

如何在HTML5中添加
iframe
作为背景。。。 我有一个动画和它在HTML5页面上。我想把这个html页面作为另一个HTML5页面的背景。。。我该怎么办? 我的代码是:

<iframe src="js/particles/background/index.html" seamless width="100%" height="100%"></iframe>
                    <li style="transform: scaleX(-1);opacity: 0.9; background-image: url(https://sites.google.com/site/tutorialebackground/_/rsrc/1367281771560/home/fundo-transparente-de-png/Sem%20t%C3%ADtulo.png);"><!--image background-->
                       <iframe src="js/particles/background/index.html" seamless width="100%" height="100%"></iframe>
                        <div class="overlay"></div>
                        <div class="container-fluid">


  • 我甚至试着放一个透明的背景

    有人能帮忙吗


    非常感谢

    您是否尝试过绝对定位
    iframe
    并将其
    z-index
    设置为
    -999
    之类的值?是的,但也没有成功!