私はYoutubeビデオを埋め込むとき、それはコラムよりはるかに小さいので、高さと幅を別々に設定しようとしましたが、動作しないようです。私は、ブートストラップ、HTML5およびCSS3埋め込みレスポンスYoutubeビデオ列幅と高さに合わせて
this is an image to show what is happening and what I want to happen
HTMLを使用して...何かが欠けている必要があります。
<section id="one-head" class="one-head">
<div class="container">
<div class="row">
<div class="col-md-pull-1 col-sm-4 col-md-offset-2 col-sm-offset-2 center">
<div class="videocab">
<iframe class="embed-responsive-item" width="100%" height="auto"
src="https://www.youtube.com/embed/VzqVWbTIuuu?rel=0&showinfo=0"
frameborder="0" allowfullscreen></iframe>
</div>
</div>
<div class="col-md-6 col-sm-12">
<div class="block wow fadeInLeft" data-wow-delay=".3s" data-wow
duration="500ms">
<h1>
text
</h1>
<h2>
text
text
</h2>
<p>
Ttext ijasfijvpeoa niA SPdfup ajfaksnf 'asFJh'aspfj
uASIPFJAIPFHAS"JLFNhasf"J ASIF"ASIPF a asjpfaIFJapifjaSFJaPFJaspjfAPSJF
POAJFpOAJSFpoajsfpAOSJFpoSAJFPoJASFPJASPOASJFPOASJFpojfOPAJFoasjfASOPJFsoap
fjOASJFoSAPJFAOJFAOPJFAOSPJFPOJFPAJFPOAJFspoajfOPASJF
<br>
<br>
<span><a class="anchor-textcab" href="#techspecs">Cabinet Colors</a></span>
<span><a class="anchor-textcab" href="#techspecs">Cabinet Size</a></span>
<span><a class="anchor-textcab" href="#techspecs">Details</a></span>
</p>
<a class="btn-cab" href="contact.html">Request a Quote</a>
</div>
</div>
</div>
</div>
</section>
CSS。
#one-head {
padding-top: 5%;
padding-bottom: 4%;
}
#one-head .block {
padding: 20px 10px 30px;
}
#one-head .block h2 {
font-size: 25px;
font-weight: 500;
margin-bottom: 30px;
text-transform: none;
color: #00bfff;
}
#one-head .block h3 {
font-size: 40px;
font-weight: 400;
margin-bottom: 30px;
text-transform: none;
}
#one-head .block p {
color: #727272;
font-size: 16px;
line-height: 28px;
margin-bottom: 35px;
}
#one-head .block img {
padding-top: 8%;
width: auto
}
#one-head .block .matrix-bold {
font-weight: 500;
margin-top: -20px;
}
結果は私と同じ結果です。私はビデオサイズを大きくしようとしています。私は自分が持っているものを示し、私が達成しようとしているものを示すためのイメージを含んでいました。イメージでは、最初のものがあなたの結果であるものです。私はそれの横のtetセクションと同様の長さと幅にビデオを取得しようとしています – Mel01
あまりにも多くの詳細を提供していないので、ちょうどあなたが添付3番目の画像に似た何かをしました。 – Icarus