JSFiddle - React, Tailwind, and code Playground
HTML
<div class="youtube-container">
<iframe src="//www.youtube.com/embed/NF-kLy44Hls" frameborder="0" allowfullscreen></iframe>
</div>
CSS
.youtube-container{
position:relative;
padding-bottom:56.25%;
padding-top:20px;
height: 0;
overflow: hidden;
max-width:100%;
}
.youtube-container iframe{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}