是否有簡單的方法將邊框向下移動5px?像一些技巧將是巨大的......將border-bottom進一步向下移動?
h2{
display: inline-block;
}
.video{
vertical-align: middle;
}
.item{
border-bottom: 1px solid green;
}
<div class="item">
<iframe class="video" width="200" height="100" src="//www.youtube.com/embed/" frameborder="0" allowfullscreen></iframe>
<h2>title</h2>
</div>
這裏有一個小提琴:https://jsfiddle.net/n5tseg3k/ –