mobile | 모바일에서 동영상 자동으로 조절해주는 소스
페이지 정보
작성자 madalla 작성일17-03-08 01:35 조회1,452회 댓글0건본문
<style>
.Flexible-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
.Flexible-container iframe,
.Flexible-container object,
.Flexible-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;}
</style>
<div class="Flexible-container">
--- iframe 등 소스 --
</div>