JSFiddle - React, Tailwind, and code Playground
HTML
<div class="video-container">
<p class="video-title">
Top 10 natural wonders of the world
</p>
<iframe width="100%" height="315" src="https://www.youtube.com/embed/xtrNfax2MjA" frameborder="0" allowfullscreen></iframe>
</div>
<div class="video-container">
<p class="video-title">
Top 10 natural wonders of the world lorem ipsum dolor sit amet.
</p>
<iframe width="100%" height="315" src="https://www.youtube.com/embed/xtrNfax2MjA" frameborder="0" allowfullscreen></iframe>
</div>
<div class="video-container">
<p class="video-title">
Top 10 natural wonders of the world
</p>
<iframe width="100%" height="315" src="https://www.youtube.com/embed/xtrNfax2MjA" frameborder="0" allowfullscreen></iframe>
</div>
<div class="video-container">
<p class="video-title">
Top 10 natural wonders of the world
</p>
<iframe width="100%" height="315" src="https://www.youtube.com/embed/xtrNfax2MjA" frameborder="0" allowfullscreen></iframe>
</div>
<div class="video-container">
<p class="video-title">
Top 10 natural wonders of the world lorem ipsum dolor sit amet.
</p>
<iframe width="100%" height="315" src="https://www.youtube.com/embed/xtrNfax2MjA" frameborder="0" allowfullscreen></iframe>
</div>
<div class="video-container">
<p class="video-title">
Top 10 natural wonders of the world
</p>
<iframe width="100%" height="315" src="https://www.youtube.com/embed/xtrNfax2MjA" frameborder="0" allowfullscreen></iframe>
</div>
CSS
.video-container {
float: left;
width: 32%;
margin-left: 5px;
}
.video-title {
display: table-cell;
width: 100%;
height: 60px;
vertical-align: middle;
}
@media screen and (max-width: 600px) {
.video-container {
width: 100%;
}
}