0
私はYouTubeのビデオフレームでiframe apiを再生しています。私は何をしたいのですか?私は背景色を持っています。beofreビデオが始まり、背景色はdiv全体をカバーする必要があります。また、テキストが中心にある必要があります、私の問題はそのテキストに関連しているので、ビデオが開始するとき、私は背景色でdivを消すとき、私はテキストをmantainしたい、テキストは常にそこにする必要がありますそのようなことをしていますか?私は既に私の背景色のdivとビデオを持っていますが、私はdivのテキストを扱うことはできません。divをフェードアウトするときのテキストmantain
HTML
<section class="content_section bg_fixed white_section bg2">
<div class="embed-responsive embed-responsive-16by9">
<div id="over">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<div class="title-wrapper main_title text-center centered upper">
<h2><span class="line"></span>Simple solutions for complex problems</h2>
</div>
<div class="description4 centered">
<p dir="ltr"><b id="docs-internal-guid-7b963bcb-e991-08ff-b846-612f8d57baee">The world is a complex place. </b><br><b>Our solutions are designed to allow organisations to quickly and simply use their information without adding layers and layers of heavy software.<br>
Usability and simple deployment are the key words.</b></p>
<p dir="ltr"> </p>
<p dir="ltr"> </p>
<p dir="ltr"> </p>
</div>
</div>
<div id="video_overlays"></div>
<div class="container" style="position: relative;">
</div>
<div id="player" width="100%" height="100%" style="z-index:-1">
</div>
</div>
</section>
があることを試してみましたが、テキストは表示されない私は、ビデオの上に背景色のdivを持っているので、私は(私はZセット、それはZインデックスとは何かを持っていると思います-index for both)私はテキストのdivを上位のものにしたいが、より高いz-indexを置こうとすると、それはうまくいきません。 –
背景とテキストの両方がビデオよりも高いzインデックスを持っていますか?私が記事を編集した後に追加したスニペットを見てください。 –
はい、私はそれを変更する必要がありますか? –