HTML
- 11 ответов
- 0 вопросов
9
Вклад в тег
<div class="video">
<iframe src="//www.youtube.com/embed/b7deZTDDEbs?rel=0&showinfo=0"
frameborder="0" allowfullscreen></iframe>
</div>
.video {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
}
.video iframe, .video object, .video embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.parent {
padding: 10px;
}
img {
position: relative;
top: 80%;
left: 80%;
height: 20%;
width: 20%;
}